ClaimsIdentity.Actor Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Property Value
The calling party that was granted delegation rights.
Exceptions
An attempt was made to set the property to the current instance.
-or-
value
results in a circular reference back to this
.
Remarks
An application can access the delegation chain that led to the current call, by recursively examining the Actor property. The token on whose behalf the call is being delegated can be accessed through the BootstrapContext property.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應