WindowsTokenRoleProvider.RoleExists 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 override bool RoleExists(
	string roleName
)

Parameters

roleName
Type: System.String

The name of the role to search for in the data source.

Return Value

Type: System.Boolean

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