ClaimsIdentity.Actor 屬性
定義
取得或設定已授與委派權限之呼叫方的識別。Gets or sets the identity of the calling party that was granted delegation rights.
public:
property System::Security::Claims::ClaimsIdentity ^ Actor { System::Security::Claims::ClaimsIdentity ^ get(); void set(System::Security::Claims::ClaimsIdentity ^ value); };
public System.Security.Claims.ClaimsIdentity Actor { get; set; }
public System.Security.Claims.ClaimsIdentity? Actor { get; set; }
member this.Actor : System.Security.Claims.ClaimsIdentity with get, set
Public Property Actor As ClaimsIdentity
屬性值
獲得委派權限的呼叫方。The calling party that was granted delegation rights.
例外狀況
嘗試將屬性設為目前的執行個體。An attempt was made to set the property to the current instance.
-或--or-
傳回給 this
之循環參考中的 value
結果。value
results in a circular reference back to this
.
備註
應用程式可以藉由遞迴檢查屬性來存取導致目前呼叫的委派鏈 Actor 。An application can access the delegation chain that led to the current call, by recursively examining the Actor property. 委派呼叫的標記可透過屬性來存取 BootstrapContext 。The token on whose behalf the call is being delegated can be accessed through the BootstrapContext property.