SeTokenIsRestricted function

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

Syntax

BOOLEAN SeTokenIsRestricted(
  PACCESS_TOKEN Token
);

Parameters

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 the documentation on these topics in the Microsoft Windows SDK.

Requirements

   
Minimum supported client This routine is available on Microsoft Windows 2000 and later.
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