Abstractions.WindowsApi.pInvokes.SafeNativeMethods.DuplicateTokenEx C# (CSharp) Method

DuplicateTokenEx() private method

private DuplicateTokenEx ( IntPtr hExistingToken, uint dwDesiredAccess, IntPtr tokenAttr, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, TOKEN_TYPE TokenType, IntPtr &phNewToken ) : bool
hExistingToken System.IntPtr
dwDesiredAccess uint
tokenAttr System.IntPtr
ImpersonationLevel SECURITY_IMPERSONATION_LEVEL
TokenType TOKEN_TYPE
phNewToken System.IntPtr
return bool
            public extern static bool DuplicateTokenEx(IntPtr hExistingToken, uint dwDesiredAccess, IntPtr tokenAttr,
                SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, TOKEN_TYPE TokenType, out IntPtr phNewToken);