This documentation is archived and is not being maintained.

ServiceAuthorizationElement.ImpersonateCallerForAllOperations Property

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

Namespace:  System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("impersonateCallerForAllOperations", DefaultValue = false)]
public bool ImpersonateCallerForAllOperations { get; set; }

Property Value

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

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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0