Share via


SPClaimProviderDefinition.IsUsedByDefault property

Gets or sets whether this claim provider is used by default in situations where the administrator has not specified the claims providers.

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

Syntax

'Declaration
Public Property IsUsedByDefault As Boolean
    Get
    Set
'Usage
Dim instance As SPClaimProviderDefinition
Dim value As Boolean

value = instance.IsUsedByDefault

instance.IsUsedByDefault = value
public bool IsUsedByDefault { get; set; }

Property value

Type: System.Boolean
true if this claims provider is used by default; otherwise false.

Remarks

If this property is set to false, the claims provider must be explicitly enabled on each SPIisSettings object where the claims provider should be used.

See also

Reference

SPClaimProviderDefinition class

SPClaimProviderDefinition members

Microsoft.SharePoint.Administration.Claims namespace