Argentini.Halide.H3Secure.UnImpersonate C# (CSharp) Метод

UnImpersonate() публичный статический Метод

Ends impersonation of an authenticated user on the server, reverting back to an anonymous, default, network service account.
public static UnImpersonate ( ) : void
Результат void
        public static void UnImpersonate()
        {
            // Stop impersonation and revert to the process identity
            if (impersonatedUser != null)
            {
                impersonatedUser.Undo();
            }

            // Free the token
            if (token != IntPtr.Zero)
            {
                CloseHandle(token);
            }
        }