Export (0) Print
Expand All

ClaimTypes Class

.NET Framework 4.5

Defines constants for the well-known claim types that can be assigned to a subject. This class cannot be inherited.

System::Object
  System.Security.Claims::ClaimTypes

Namespace:  System.Security.Claims
Assembly:  mscorlib (in mscorlib.dll)

[ComVisibleAttribute(false)]
public ref class ClaimTypes abstract sealed

The ClaimTypes type exposes the following members.

  NameDescription
Public fieldStatic memberActorhttp://schemas.xmlsoap.org/ws/2009/09/identity/claims/actor.
Public fieldStatic memberAnonymousThe URI for a claim that specifies the anonymous user; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/anonymous.
Public fieldStatic memberAuthenticationThe URI for a claim that specifies details about whether an identity is authenticated, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authenticated.
Public fieldStatic memberAuthenticationInstantThe URI for a claim that specifies the instant at which an entity was authenticated; http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationinstant.
Public fieldStatic memberAuthenticationMethodThe URI for a claim that specifies the method with which an entity was authenticated; http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod.
Public fieldStatic memberAuthorizationDecisionThe URI for a claim that specifies an authorization decision on an entity; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authorizationdecision.
Public fieldStatic memberCookiePathThe URI for a claim that specifies the cookie path; http://schemas.microsoft.com/ws/2008/06/identity/claims/cookiepath.
Public fieldStatic memberCountryThe URI for a claim that specifies the country/region in which an entity resides, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country.
Public fieldStatic memberDateOfBirthThe URI for a claim that specifies the date of birth of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth.
Public fieldStatic memberDenyOnlyPrimaryGroupSidThe URI for a claim that specifies the deny-only primary group SID on an entity; http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarygroupsid. A deny-only SID denies the specified entity to a securable object.
Public fieldStatic memberDenyOnlyPrimarySidThe URI for a claim that specifies the deny-only primary SID on an entity; http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarysid. A deny-only SID denies the specified entity to a securable object.
Public fieldStatic memberDenyOnlySidThe URI for a claim that specifies a deny-only security identifier (SID) for an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/denyonlysid. A deny-only SID denies the specified entity to a securable object.
Public fieldStatic memberDenyOnlyWindowsDeviceGrouphttp://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlywindowsdevicegroup.
Public fieldStatic memberDnsThe 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, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dns.
Public fieldStatic memberDsahttp://schemas.microsoft.com/ws/2008/06/identity/claims/dsa.
Public fieldStatic memberEmailThe URI for a claim that specifies the email address of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/email.
Public fieldStatic memberExpirationhttp://schemas.microsoft.com/ws/2008/06/identity/claims/expiration.
Public fieldStatic memberExpiredhttp://schemas.microsoft.com/ws/2008/06/identity/claims/expired.
Public fieldStatic memberGenderThe URI for a claim that specifies the gender of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender.
Public fieldStatic memberGivenNameThe URI for a claim that specifies the given name of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname.
Public fieldStatic memberGroupSidThe URI for a claim that specifies the SID for the group of an entity, http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid.
Public fieldStatic memberHashThe URI for a claim that specifies a hash value, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/hash.
Public fieldStatic memberHomePhoneThe URI for a claim that specifies the home phone number of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone.
Public fieldStatic memberIsPersistenthttp://schemas.microsoft.com/ws/2008/06/identity/claims/ispersistent.
Public fieldStatic memberLocalityThe URI for a claim that specifies the locale in which an entity resides, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality.
Public fieldStatic memberMobilePhoneThe URI for a claim that specifies the mobile phone number of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone.
Public fieldStatic memberNameThe URI for a claim that specifies the name of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name.
Public fieldStatic memberNameIdentifierThe URI for a claim that specifies the name of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier.
Public fieldStatic memberOtherPhoneThe URI for a claim that specifies the alternative phone number of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone.
Public fieldStatic memberPostalCodeThe URI for a claim that specifies the postal code of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode.
Public fieldStatic memberPrimaryGroupSidThe URI for a claim that specifies the primary group SID of an entity, http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid.
Public fieldStatic memberPrimarySidThe URI for a claim that specifies the primary SID of an entity, http://schemas.microsoft.com/ws/2008/06/identity/claims/primarysid.
Public fieldStatic memberRoleThe URI for a claim that specifies the role of an entity, http://schemas.microsoft.com/ws/2008/06/identity/claims/role.
Public fieldStatic memberRsaThe URI for a claim that specifies an RSA key, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/rsa.
Public fieldStatic memberSerialNumberThe URI for a claim that specifies a serial number, http://schemas.microsoft.com/ws/2008/06/identity/claims/serialnumber.
Public fieldStatic memberSidThe URI for a claim that specifies a security identifier (SID), http://schemas.xmlsoap.org/ws/2005/05/identity/claims/sid.
Public fieldStatic memberSpnThe URI for a claim that specifies a service principal name (SPN) claim, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn.
Public fieldStatic memberStateOrProvinceThe URI for a claim that specifies the state or province in which an entity resides, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince.
Public fieldStatic memberStreetAddressThe URI for a claim that specifies the street address of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress.
Public fieldStatic memberSurnameThe URI for a claim that specifies the surname of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname.
Public fieldStatic memberSystemThe URI for a claim that identifies the system entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/system.
Public fieldStatic memberThumbprintThe URI for a claim that specifies a thumbprint, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/thumbprint. A thumbprint is a globally unique SHA-1 hash of an X.509 certificate.
Public fieldStatic memberUpnThe URI for a claim that specifies a user principal name (UPN), http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn.
Public fieldStatic memberUriThe URI for a claim that specifies a URI, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/uri.
Public fieldStatic memberUserDatahttp://schemas.microsoft.com/ws/2008/06/identity/claims/userdata.
Public fieldStatic memberVersionhttp://schemas.microsoft.com/ws/2008/06/identity/claims/version.
Public fieldStatic memberWebpageThe URI for a claim that specifies the webpage of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage.
Public fieldStatic memberWindowsAccountNameThe URI for a claim that specifies the Windows domain account name of an entity, http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname.
Public fieldStatic memberWindowsDeviceClaimhttp://schemas.microsoft.com/ws/2008/06/identity/claims/windowsdeviceclaim.
Public fieldStatic memberWindowsDeviceGrouphttp://schemas.microsoft.com/ws/2008/06/identity/claims/windowsdevicegroup.
Public fieldStatic memberWindowsFqbnVersionhttp://schemas.microsoft.com/ws/2008/06/identity/claims/windowsfqbnversion.
Public fieldStatic memberWindowsSubAuthorityhttp://schemas.microsoft.com/ws/2008/06/identity/claims/windowssubauthority.
Public fieldStatic memberWindowsUserClaimhttp://schemas.microsoft.com/ws/2008/06/identity/claims/windowsuserclaim.
Public fieldStatic memberX500DistinguishedNameThe URI for a distinguished name claim of an X.509 certificate, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/x500distinguishedname. The X.500 standard defines the methodology for defining distinguished names that are used by X.509 certificates.
Top

These constants define URIs for well-known claim types.

.NET Framework

Supported in: 4.6, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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