SeTokenIsRestricted function (ntifs.h)

The SeTokenIsRestricted routine determines whether a token contains a list of restricting security identifiers (SID).

Syntax

BOOLEAN SeTokenIsRestricted(
  [in] PACCESS_TOKEN Token
);

Parameters

[in] Token

Pointer to the access token to test.

Return value

SeTokenIsRestricted returns TRUE if the token contains a list of restricting SIDs, 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

PsDereferenceImpersonationToken

PsDereferencePrimaryToken

SeQueryAuthenticationIdToken

SeQueryInformationToken

SeQuerySubjectContextToken

SeTokenIsAdmin

SeTokenIsRestricted