Click or drag to resize
Galactic API

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)
Syntax
public override string[] FindUsersInRole(
	string roleName,
	string usernameToMatch
)

Parameters

roleName
Type: SystemString
The role to search in.
usernameToMatch
Type: SystemString
The username to search for.

Return Value

Type: String
A 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