token_access


This structure contains token access types. The following enumerators are defined within the scope of the structure token_access.

assign_primary The right to attach a primary token to a process. The privilege PrivilegeCreateToken is required.
duplicate The right to duplicate a token.
impersonate The right to attach an impersonation token to a process.
query The right to query the contents of a token.
query_source The right to query the source of a token.
adjust_privileges The right to change the privileges of a token.
adjust_groups The right to change the groups of a token.
adjust_default The right to change the default access list, primary group or owner of a token.

all Combines access_type::standard_required with all individual access rights for tokens.
execute Combines access_type::standard_execute with the token access right impersonate.
read Combines access_type::standard_read with the token access right query.
write Combines access_type::standard_write with the token access rights: adjust_privileges, adjust_groups and adjust_default.