LsaRemoveAccountRights(PolicyHandle, AccountSid, AllRights, UserRights)
Removes privs from an account
Parameters
PolicyHandle : PyLSA_HANDLE
An LSA policy handle as returned by win32security::LsaOpenPolicyAccountSid : PySID
Account whose privileges will be removedAllRights : int
Boolean value indicating if all privs should be removed from accountUserRights : (str/unicode,...)
List of privilege names to be removed (SE_*_NAME unicode constants)Comments
If AllRights parm is true, account is *deleted*
Accepts keyword args.