PSInvocationSettings.FlowImpersonationPolicy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.