  | ActiveDirectoryRoleProviderRoleExists 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.ActiveDirectory
    Assembly:
   Galactic.Web.Security.ActiveDirectory (in Galactic.Web.Security.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntaxpublic 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