Click or drag to resize
WindowsIdentityHelperImpersonate Method
Run given action under user represented by identity.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public static void Impersonate(
	WindowsIdentity identity,
	Action action
)

Parameters

identity
Type: System.Security.PrincipalWindowsIdentity
Represents user used for impersonation.
action
Type: SystemAction
Action to run.
See Also