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