PyHANDLE = DuplicateTokenEx(ExistingToken, ImpersonationLevel
, DesiredAccess
, TokenType
, TokenAttributes
)
Extended version of DuplicateToken.
Parameters
ExistingToken : PyHANDLE
Logon token opened with TOKEN_DUPLICATE accessImpersonationLevel : int
One of win32security.Security* valuesDesiredAccess : int
Type of access required for the handle, combination of win32security.TOKEN_* flagsTokenType : int
Type of token to be created, TokenPrimary or TokenImpersonationTokenAttributes=None : PySECURITY_ATTRIBUTES
Specifies security and inheritance for the new handle. None results in default DACL and no inheritance,
Comments
Accepts keyword arguments