Edytuj

Udostępnij za pośrednictwem


ServiceAuthorizationElement.ImpersonateCallerForAllOperations Property

Definition

Gets or sets a Boolean value that specifies whether all the operations in the service impersonate the caller.

public:
 property bool ImpersonateCallerForAllOperations { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("impersonateCallerForAllOperations", DefaultValue=false)]
public bool ImpersonateCallerForAllOperations { get; set; }
[<System.Configuration.ConfigurationProperty("impersonateCallerForAllOperations", DefaultValue=false)>]
member this.ImpersonateCallerForAllOperations : bool with get, set
Public Property ImpersonateCallerForAllOperations As Boolean

Property Value

true if all the operations in the service impersonate the caller; otherwise, false. The default is false.

Attributes

Remarks

When a specific service operation impersonates the caller, the thread context is switched to the caller context before executing the specified service.

Applies to