Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether claims authentication is enabled in the specified context.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function IsClaimsMode ( _
context As Uri _
) As Boolean
'Usage
Dim context As Uri
Dim returnValue As Boolean
returnValue = SPClaimProviderOperations.IsClaimsMode(context)
public static bool IsClaimsMode(
Uri context
)
Parameters
context
Type: System.UriThe specified context.
Return Value
Type: System.Boolean
true if claims authentication is enabled in the context; otherwise, false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | context is null . |
Remarks
Claims authentication is always disallowed on the central administrative web application.
See Also
Reference
SPClaimProviderOperations Class