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 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
claimType
Type: System.StringThe claim type to be checked.
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