ClaimTypes Class

ClaimTypes Class

 

Represents the pre-defined types of claims that an entity can claim. This class cannot be inherited.

Namespace:   System.IdentityModel.Claims
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

System::Object
  System.IdentityModel.Claims::ClaimTypes

public ref class ClaimTypes abstract sealed 

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticAnonymous

Gets the URI for a claim that specifies the anonymous user.

System_CAPS_pubpropertySystem_CAPS_staticAuthentication

Gets the URI for a claim that specifies details about whether an identity is authenticated.

System_CAPS_pubpropertySystem_CAPS_staticAuthorizationDecision

Gets the URI for a claim that specifies an authorization decision on an entity.

System_CAPS_pubpropertySystem_CAPS_staticCountry

Gets the URI for a claim that specifies the country/region in which an entity resides.

System_CAPS_pubpropertySystem_CAPS_staticDateOfBirth

Gets the URI for a claim that specifies the date of birth of an entity.

System_CAPS_pubpropertySystem_CAPS_staticDenyOnlySid

Gets the URI for a claim that specifies a deny-only security identifier (SID) for an entity.

System_CAPS_pubpropertySystem_CAPS_staticDns

Gets the URI for a claim that specifies the DNS name associated with the computer name or with the alternative name of either the subject or issuer of an X.509 certificate.

System_CAPS_pubpropertySystem_CAPS_staticEmail

Gets the URI for a claim that specifies the email address of an entity.

System_CAPS_pubpropertySystem_CAPS_staticGender

Gets the URI for a claim that specifies the gender of an entity.

System_CAPS_pubpropertySystem_CAPS_staticGivenName

Gets the URI for a claim that specifies the given name of an entity.

System_CAPS_pubpropertySystem_CAPS_staticHash

Gets the URI for a claim that specifies a hash value.

System_CAPS_pubpropertySystem_CAPS_staticHomePhone

Gets the URI for a claim that specifies the home phone number of an entity.

System_CAPS_pubpropertySystem_CAPS_staticLocality

Gets the URI for a claim that specifies the locale in which an entity resides.

System_CAPS_pubpropertySystem_CAPS_staticMobilePhone

Gets the URI for a claim that specifies the mobile phone number of an entity.

System_CAPS_pubpropertySystem_CAPS_staticName

Gets the URI for a claim that specifies the name of an entity.

System_CAPS_pubpropertySystem_CAPS_staticNameIdentifier

Gets the URI for a claim that specifies the name of an entity.

System_CAPS_pubpropertySystem_CAPS_staticOtherPhone

Gets the URI for a claim that specifies the alternative phone number of an entity.

System_CAPS_pubpropertySystem_CAPS_staticPostalCode

Gets the URI for a claim that specifies the postal code of an entity.

System_CAPS_pubpropertySystem_CAPS_staticPPID

Gets the URI for a claim that specifies the private personal identifier (PPI) of an entity.

System_CAPS_pubpropertySystem_CAPS_staticRsa

Gets the URI for a claim that specifies an RSA key.

System_CAPS_pubpropertySystem_CAPS_staticSid

Gets the URI for a claim that specifies a security identifier (SID).

System_CAPS_pubpropertySystem_CAPS_staticSpn

Gets the URI for a claim that specifies a service principal name (SPN) claim.

System_CAPS_pubpropertySystem_CAPS_staticStateOrProvince

Gets the URI for a claim that specifies the state or province in which an entity resides.

System_CAPS_pubpropertySystem_CAPS_staticStreetAddress

Gets the URI for a claim that specifies the street address of an entity.

System_CAPS_pubpropertySystem_CAPS_staticSurname

Gets the URI for a claim that specifies the surname of an entity.

System_CAPS_pubpropertySystem_CAPS_staticSystem

Gets the URI for a claim that identifies the system entity.

System_CAPS_pubpropertySystem_CAPS_staticThumbprint

Gets the URI for a claim that specifies a thumbprint.

System_CAPS_pubpropertySystem_CAPS_staticUpn

Gets the URI for a claim that specifies a user principal name (UPN).

System_CAPS_pubpropertySystem_CAPS_staticUri

Gets the URI for a claim that specifies a URI.

System_CAPS_pubpropertySystem_CAPS_staticWebpage

Gets the URI for a claim that specifies the Web page of an entity.

System_CAPS_pubpropertySystem_CAPS_staticX500DistinguishedName

Gets the string that contains the URI for a distinguished name claim of an X.509 certificate.

Use the ClaimTypes class to search for a particular type of claim in a ClaimSet or to create a claim. To search for a particular type of claim in a ClaimSet, use the FindClaims(String^, String^) method and use the properties of this class to specify the claim type for the claimType parameter. When the constructor for the Claim class is used to create a new claim, use the properties of the ClaimTypes class to specify the claimType parameter. For many of the claim types, the Claim class has static properties that return a claim of a specific type. For instance, the CreateHashClaim(array<Byte>^) method returns a claim using the Hash claim type.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft