Gets the claims associated with this claims identity.
Assembly: mscorlib (in mscorlib.dll)
The collection may contain entries that are null.
The claims contained in the collection essentially describe the entity that is represented by the ClaimsIdentity. The claims describe the properties and rights possessed by the entity and can be examined by applications to make decisions about authentication and authorization.
The ClaimsPrincipal class has a Claims property as well. In the majority of cases you should access the user’s claims through the ClaimsPrincipal.Claims collection rather than through the collection. You will need to access the claims of an individual ClaimsIdentity only in the cases where the principal contains more than one ClaimsIdentity and you need to evaluate or modify a specific identity.
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)