ClaimTypes Class
Represents the pre-defined types of claims that an entity can claim. This class cannot be inherited.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
The ClaimTypes type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | Anonymous | Gets the URI for a claim that specifies the anonymous user. |
![]() ![]() | Authentication | Gets the URI for a claim that specifies details about whether an identity is authenticated. |
![]() ![]() | AuthorizationDecision | Gets the URI for a claim that specifies an authorization decision on an entity. |
![]() ![]() | Country | Gets the URI for a claim that specifies the country/region in which an entity resides. |
![]() ![]() | DateOfBirth | Gets the URI for a claim that specifies the date of birth of an entity. |
![]() ![]() | DenyOnlySid | Gets the URI for a claim that specifies a deny-only security identifier (SID) for an entity. |
![]() ![]() | Dns | 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. |
![]() ![]() | Gets the URI for a claim that specifies the email address of an entity. | |
![]() ![]() | Gender | Gets the URI for a claim that specifies the gender of an entity. |
![]() ![]() | GivenName | Gets the URI for a claim that specifies the given name of an entity. |
![]() ![]() | Hash | Gets the URI for a claim that specifies a hash value. |
![]() ![]() | HomePhone | Gets the URI for a claim that specifies the home phone number of an entity. |
![]() ![]() | Locality | Gets the URI for a claim that specifies the locale in which an entity resides. |
![]() ![]() | MobilePhone | Gets the URI for a claim that specifies the mobile phone number of an entity. |
![]() ![]() | Name | Gets the URI for a claim that specifies the name of an entity. |
![]() ![]() | NameIdentifier | Gets the URI for a claim that specifies the name of an entity. |
![]() ![]() | OtherPhone | Gets the URI for a claim that specifies the alternative phone number of an entity. |
![]() ![]() | PostalCode | Gets the URI for a claim that specifies the postal code of an entity. |
![]() ![]() | PPID | Gets the URI for a claim that specifies the private personal identifier (PPI) of an entity. |
![]() ![]() | Rsa | Gets the URI for a claim that specifies an RSA key. |
![]() ![]() | Sid | Gets the URI for a claim that specifies a security identifier (SID). |
![]() ![]() | Spn | Gets the URI for a claim that specifies a service principal name (SPN) claim. |
![]() ![]() | StateOrProvince | Gets the URI for a claim that specifies the state or province in which an entity resides. |
![]() ![]() | StreetAddress | Gets the URI for a claim that specifies the street address of an entity. |
![]() ![]() | Surname | Gets the URI for a claim that specifies the surname of an entity. |
![]() ![]() | System | Gets the URI for a claim that identifies the system entity. |
![]() ![]() | Thumbprint | Gets the URI for a claim that specifies a thumbprint. |
![]() ![]() | Upn | Gets the URI for a claim that specifies a user principal name (UPN). |
![]() ![]() | Uri | Gets the URI for a claim that specifies a URI. |
![]() ![]() | Webpage | Gets the URI for a claim that specifies the Web page of an entity. |
![]() ![]() | X500DistinguishedName | 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
