WindowsTokenRoleProvider.RemoveUsersFromRoles Method (String[], String[])

 

This method is not supported by the Windows token role provider.

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

public override void RemoveUsersFromRoles(
	string[] usernames,
	string[] roleNames
)

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
Return to top
Show: