WindowsTokenRoleProvider.RemoveUsersFromRoles 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 Overrides Sub RemoveUsersFromRoles ( usernames As String(), roleNames As String() )
Parameters
- usernames
-
Type:
System.String()
A string array of user names to be added to the specified roles.
- roleNames
-
Type:
System.String()
A string array of role names to add the specified user names to.
| Exception | Condition |
|---|---|
| System.Configuration.Provider.ProviderException | An unsupported method was called. |
This method is not supported by the WindowsTokenRoleProvider class and always throws a ProviderException.
.NET Framework
Available since 2.0
Available since 2.0
Show: