AuthorizationStoreRoleProvider.FindUsersInRole Method (String, String)
.NET Framework (current version)
This method is not supported by the authorization store role provider.
Assembly: System.Web (in System.Web.dll)
Public Overrides Function FindUsersInRole ( roleName As String, usernameToMatch As String ) As String()
Parameters
- roleName
-
Type:
System.String
The role to search in.
- usernameToMatch
-
Type:
System.String
The user name to search for.
Return Value
Type: System.String()A string array containing the names of all the users whose user name matches usernameToMatch and who are members of the specified role.
| Exception | Condition |
|---|---|
| NotImplementedException | An unsupported method was called. |
.NET Framework
Available since 2.0
Available since 2.0
Show: