Click or drag to resize
Galactic API

SimpleActiveDirectoryRoleProviderFindUsersInRole 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.SimpleActiveDirectory
Assembly:  Galactic.Web.Security.SimpleActiveDirectory (in Galactic.Web.Security.SimpleActiveDirectory.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