SPClaimProviderManager.DoesClaimProviderExist method

Verifies that a SPClaimProvider claim provider with the name parameter exists.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool DoesClaimProviderExist(
	string name
)

Parameters

name
Type: System.String

The name to match against a Name property.

Return value

Type: System.Boolean
true if there exists a SPClaimProvider with a name property that matches the input parameter; otherwise false.

ExceptionCondition
ArgumentNullException

Thrown if the name parameter is a null reference (Nothing in Visual Basic).

Show: