SecurityTokenService.Principal 属性

定义

获取或设置与当前实例关联的主体。

public:
 property System::Security::Claims::ClaimsPrincipal ^ Principal { System::Security::Claims::ClaimsPrincipal ^ get(); void set(System::Security::Claims::ClaimsPrincipal ^ value); };
public System.Security.Claims.ClaimsPrincipal Principal { get; set; }
member this.Principal : System.Security.Claims.ClaimsPrincipal with get, set
Public Property Principal As ClaimsPrincipal

属性值

表示当前主体的 ClaimsPrincipal

适用于