WindowsTokenRoleProvider::CreateRole Method (String^)

 

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

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

public:
virtual void CreateRole(
	String^ roleName
) override

Parameters

roleName
Type: System::String^

The name of the role to create.

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: