Share via


PSInvocationSettings.FlowImpersonationPolicy Property

Definition

Used by Powershell remoting infrastructure to flow identity from calling thread to Pipeline Execution Thread.

public:
 property bool FlowImpersonationPolicy { bool get(); void set(bool value); };
public:
 property bool FlowImpersonationPolicy { bool get(); void set(bool value); };
public bool FlowImpersonationPolicy { get; set; }
member this.FlowImpersonationPolicy : bool with get, set
Public Property FlowImpersonationPolicy As Boolean

Property Value

Remarks

Scenario: In the IIS hosting model, the calling thread is impersonated with a different identity than the process identity. However Pipeline Execution Thread always inherits process's identity and this will create problems related to security. In the IIS hosting model, we should honor calling threads identity.

Applies to