SeTokenIsAdmin - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

BOOLEAN SeTokenIsAdmin(
  [in] PACCESS_TOKEN Token
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-setokenisadmin)

SeTokenIsAdmin function

Description

The SeTokenIsAdmin routine determines whether a token contains the local administrators group.

Parameters

Token [in]

Pointer to the token.

Return value

SeTokenIsAdmin returns TRUE if the token contains the local administrators group, FALSE otherwise.

Remarks

For more information about security and access control, see Windows security model for driver developers and the documentation on these topics in the Windows SDK.

See also

PsDereferenceImpersonationToken

PsDereferencePrimaryToken

SeQueryAuthenticationIdToken

SeQueryInformationToken

SeQuerySubjectContextToken

SeTokenIsAdmin

SeTokenIsRestricted