// ntifs.h
BOOLEAN SeTokenIsRestricted(
[in] PACCESS_TOKEN Token
);
View the official Windows Driver Kit DDI reference
No description available.
The SeTokenIsRestricted routine determines whether a token contains a list of restricting security identifiers (SID).
Token
[in]Pointer to the access token to test.
SeTokenIsRestricted returns TRUE if the token contains a list of restricting SIDs, FALSE otherwise.
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.
PsDereferenceImpersonationToken
SeTokenIsRestricted