  | ActiveDirectoryRoleProviderFindUsersInRole Method  | 
 
            Gets an array of user names in a role where the user name contains the specified user name to match.
            
 
    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 string[] FindUsersInRole(
	string roleName,
	string usernameToMatch
)
Public Overrides Function FindUsersInRole ( 
	roleName As String,
	usernameToMatch As String
) As String()
public:
virtual array<String^>^ FindUsersInRole(
	String^ roleName, 
	String^ usernameToMatch
) override
abstract FindUsersInRole : 
        roleName : string * 
        usernameToMatch : string -> string[] 
override FindUsersInRole : 
        roleName : string * 
        usernameToMatch : string -> string[] Parameters
- roleName
 - Type: SystemString
The role to search in. - usernameToMatch
 - Type: SystemString
The username to search for. 
Return Value
Type: 
StringA string array containing the names of all the users where the user name matches usernameToMatch and the user is a member of the specified role.
See Also