TOKEN_ELEVATION structure (winnt.h)

The TOKEN_ELEVATION structure indicates whether a token has elevated privileges.

Syntax

typedef struct _TOKEN_ELEVATION {
  DWORD TokenIsElevated;
} TOKEN_ELEVATION, *PTOKEN_ELEVATION;

Members

TokenIsElevated

A nonzero value if the token has elevated privileges; otherwise, a zero value.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header winnt.h