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)
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: 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: