WindowsTokenRoleProvider::FindUsersInRole Method (String^, String^)
.NET Framework (current version)
This method is not supported by the Windows token 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 find in the role.
Return Value
Type: array<System::String^>^None. The method is not supported by the WindowsTokenRoleProvider class and always throws a ProviderException.
| Exception | Condition |
|---|---|
| System.Configuration.Provider::ProviderException | An unsupported method was called. |
.NET Framework
Available since 2.0
Available since 2.0
Show: