ServiceAuthorizationElement.ImpersonateCallerForAllOperations Property

Definition

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

C#
[System.Configuration.ConfigurationProperty("impersonateCallerForAllOperations", DefaultValue=false)]
public bool ImpersonateCallerForAllOperations { get; set; }

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

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1