The DuplicateTokenEx function creates a new access token that duplicates an existing token. This function can create either a primary token or an impersonation token.
4/5/2012 1:49:37 PM - Carl Mailloux-209.226.94.110
.
public extern static bool DuplicateTokenEx(
.
Declare Auto Function DuplicateTokenEx Lib "advapi32.dll" ( _
.
ret = DuplicateTokenEx(Token, UInt32.Parse(GRANTED_ALL, System.Globalization.NumberStyles.HexNumber), sa, SecurityImpersonation, TokenType, DupedToken)
The DuplicateTokenEx function creates a new access token that duplicates an existing token. This function can create either a primary token or an impersonation token.
4/5/2012 1:49:37 PM - Carl Mailloux-209.226.94.110
.
public extern static bool DuplicateTokenEx(
.
Declare Auto Function DuplicateTokenEx Lib "advapi32.dll" ( _
.
ret = DuplicateTokenEx(Token, UInt32.Parse(GRANTED_ALL, System.Globalization.NumberStyles.HexNumber), sa, SecurityImpersonation, TokenType, DupedToken)