Επεξεργασία

Κοινή χρήση μέσω


ClaimsIdentity.Actor Property

Definition

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