SPClaimProviderManager.IsClaimsUser Method

Checks whether the current threads principal is for a claims user (and thereford that claims is active).

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

Syntax

'Declaration
Public Shared Function IsClaimsUser As Boolean
'Usage
Dim returnValue As Boolean

returnValue = SPClaimProviderManager.IsClaimsUser()
public static bool IsClaimsUser()

Return Value

Type: System.Boolean
true if the current threads principal is for a claims user; otherwise false.

See Also

Reference

SPClaimProviderManager Class

SPClaimProviderManager Members

Microsoft.SharePoint.Administration.Claims Namespace