Export (0) Print
Expand All

SeTokenIsRestricted routine

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

Syntax


BOOLEAN SeTokenIsRestricted(
  _In_  PACCESS_TOKEN Token
);

Parameters

Token [in]

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

Version

This routine is available on Microsoft Windows 2000 and later.

Header

Ntifs.h (include Ntifs.h)

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL

See also

PsDereferenceImpersonationToken
PsDereferencePrimaryToken
SeQueryAuthenticationIdToken
SeQueryInformationToken
SeQuerySubjectContextToken
SeTokenIsAdmin
SeTokenIsRestricted

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft