WindowsTokenRoleProvider.CreateRole Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 CreateRole(
	string roleName
)

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: