win32security.IsTokenRestricted

bool = IsTokenRestricted(TokenHandle)

Checks if a token contains restricted sids

Parameters

TokenHandle : PyHANDLE

Handle to an access token