Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SeTokenIsAdmin function (ntifs.h)
The SeTokenIsAdmin routine determines whether a token contains the local administrators group.
Syntax
BOOLEAN SeTokenIsAdmin(
[in] PACCESS_TOKEN Token
);
Parameters
[in] Token
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.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 |
| Target Platform | Universal |
| Header | ntifs.h (include Ntifs.h) |
| Library | NtosKrnl.lib |
| DLL | NtosKrnl.exe |
| IRQL | PASSIVE_LEVEL |
See also
Feedback
Was this page helpful?
