  | ActiveDirectoryRoleProviderIsUserInRole Method  | 
 
            Gets a value indicating whether the specified user is in the specified role 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 IsUserInRole(
	string username,
	string roleName
)
Public Overrides Function IsUserInRole ( 
	username As String,
	roleName As String
) As Boolean
public:
virtual bool IsUserInRole(
	String^ username, 
	String^ roleName
) override
abstract IsUserInRole : 
        username : string * 
        roleName : string -> bool 
override IsUserInRole : 
        username : string * 
        roleName : string -> bool Parameters
- username
 - Type: SystemString
The user name to search for. - roleName
 - Type: SystemString
The role to search in. 
Return Value
Type: 
Booleantrue if the specified user is in the specified role for the configured applicationName; otherwise, false.
See Also