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: virtual array<String^>^ FindUsersInRole( String^ roleName, String^ usernameToMatch ) override
Parameters
- roleName
-
Type:
System::String^
The role to search in.
- usernameToMatch
-
Type:
System::String^
The user name to search for.
Return Value
Type: array<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: