Share via


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