共用方式為


IClaimsPrincipal 介面

Extends the principal to include multiple claims-based identities.

命名空間: Microsoft.IdentityModel.Claims
組件: Microsoft.IdentityModel (在 microsoft.identitymodel.dll 中)

使用方式

    Dim instance As IClaimsPrincipal

語法

'宣告
Public Interface IClaimsPrincipal
    Inherits IPrincipal
public interface IClaimsPrincipal : IPrincipal
public interface class IClaimsPrincipal : IPrincipal
public interface IClaimsPrincipal extends IPrincipal
public interface IClaimsPrincipal extends IPrincipal

備註

In the claims model multiple users or claims-based identities can be party to a single action. The IClaimsPrincipal interface defines the data and behavior of the identities associated with an execution context.

IClaimsPrincipal exposes a collection of identities, each of which implements IClaimsIdentity. In a common case, there will be a single issuer and a single token and the identities collection will only have one element. However, it’s possible in advanced scenarios for a relying party to ask (via policy) for more than one security token, potentially from different issuers.

平台

開發平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

請參閱

參考

IClaimsPrincipal 成員
Microsoft.IdentityModel.Claims 命名空間