Share via


SPTrustedClaimTypeInformation.IsClaimTypeReserved method

Determines whether the specified claim type is a reserved claim type.

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

Syntax

'Declaration
Public Shared Function IsClaimTypeReserved ( _
    claimType As String _
) As Boolean
'Usage
Dim claimType As String
Dim returnValue As Boolean

returnValue = SPTrustedClaimTypeInformation.IsClaimTypeReserved(claimType)
public static bool IsClaimTypeReserved(
    string claimType
)

Parameters

Return value

Type: System.Boolean
true if the specified claim type is reserved; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

claimType is null .

Remarks

This method returns true if claimType equals NameIdentifier, DefaultNameClaimType(), IdentityProvider, UserIdentifier, or UserLogonName.

See also

Reference

SPTrustedClaimTypeInformation class

SPTrustedClaimTypeInformation members

Microsoft.SharePoint.Administration.Claims namespace