win32security.LsaEnumerateAccountRights

[PyUnicode, ...] = LsaEnumerateAccountRights(PolicyHandle, AccountSid )

Lists privileges held by SID

Parameters

PolicyHandle : PyLSA_HANDLE

An LSA policy handle as returned by win32security::LsaOpenPolicy

AccountSid : PySID

Security identifier of account for which to list privs