Share via


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)

Syntax

'Declaration
Public Function DoesClaimProviderExist ( _
    name As String _
) As Boolean
'Usage
Dim instance As SPClaimProviderManager
Dim name As String
Dim returnValue As Boolean

returnValue = instance.DoesClaimProviderExist(name)
public bool DoesClaimProviderExist(
    string name
)

Parameters

Return value

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

Exceptions

Exception Condition
ArgumentNullException

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

See also

Reference

SPClaimProviderManager class

SPClaimProviderManager members

Microsoft.SharePoint.Administration.Claims namespace