WindowsIdentityHelperImpersonate Method |
Run given action under user represented by identity.
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax 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