SPWebApplication.UseClaimsAuthentication property

Gets or sets a Boolean value that indicates whether claims authentication is enabled.

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

Syntax

'Declaration
Public Property UseClaimsAuthentication As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.UseClaimsAuthentication

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

Property value

Type: System.Boolean
true if claims authentication is enabled; otherwise false.

Remarks

This property affects all zones. Note that a value of true is disallowed for this property on the central administrative Web application.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace