Represents a claims-based principal object.
Assembly: Microsoft.IdentityModel (in Microsoft.IdentityModel.dll)
/** @attribute SerializableAttribute() */ public class ClaimsPrincipal implements IClaimsPrincipal, IPrincipal
In the claims model, multiple users or claims-based identities can be party to a single action. The ClaimsPrincipal class exposes a collection of identities through the Identities property. Each of these identities implements the IClaimsIdentity interface and you can access the claims associated with the current caller through them. In the common case, there will be a single issuer and a single token and the identities collection will only have one element. However, it is possible in advanced scenarios for a relying party to ask (via policy) for more than one security token, potentially from different issuers. For more information about using claims-based principal objects in Windows® Identity Foundation (WIF), see the IClaimsPrincipal class.
Target PlatformsWindows 7, Windows Server 2008 R2, Windows Vista SP2, Windows Server 2008 SP2, Windows Server 2003 SP2 (32-bit or 64-bit)
Copyright © 2008 by Microsoft Corporation. All rights reserved.