| SimpleMappingRoleProviderRoleExists Method |
Gets a value indicating whether the specified role name already exists in the role data source for the configured applicationName.
Namespace:
Galactic.Web.Security.SimpleMapping
Assembly:
Galactic.Web.Security.SimpleMapping (in Galactic.Web.Security.SimpleMapping.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public override bool RoleExists(
string roleName
)
Public Overrides Function RoleExists (
roleName As String
) As Boolean
public:
virtual bool RoleExists(
String^ roleName
) override
abstract RoleExists :
roleName : string -> bool
override RoleExists :
roleName : string -> bool
Parameters
- roleName
- Type: SystemString
The name of the role to search for in the data source.
Return Value
Type:
Booleantrue if the role name already exists in the data source for the configured applicationName; otherwise, false.
See Also