SPClaimProvider constructor
Creates a SPClaimProvider claims provider with the specified display name.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Sub New ( _
displayName As String _
)
'Usage
Dim displayName As String
Dim instance As New SPClaimProvider(displayName)
protected SPClaimProvider(
string displayName
)
Parameters
displayName
Type: System.StringThe display name of the claims provider. The display name specifies the name to use when the claim provider name needs to be displayed to the user. Also see the DisplayName property of the SPClaimProvider class.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when displayName is a null reference (Nothing in Visual Basic). |
ArgumentException | Thrown when displayName is empty. |
Remarks
This constructor sets the display name of the claims provider. The name is displayed in the Central Administration user interface for the people picker name resolution.