Home
last modified time | relevance | path

Searched refs:userRights (Results 1 – 2 of 2) sorted by relevance

/external/lzma/CPP/Windows/
DSecurityUtils.h127 NTSTATUS EnumerateAccountsWithUserRight(PLSA_UNICODE_STRING userRights, in EnumerateAccountsWithUserRight()
129 …{ return LsaEnumerateAccountsWithUserRight(_handle, userRights, (void **)enumerationBuffer, countR… in EnumerateAccountsWithUserRight()
131 NTSTATUS EnumerateAccountRights(PSID sid, PLSA_UNICODE_STRING* userRights, PULONG countOfRights) in EnumerateAccountRights()
132 { return ::LsaEnumerateAccountRights(_handle, sid, userRights, countOfRights); } in EnumerateAccountRights()
138 NTSTATUS AddAccountRights(PSID accountSid, PLSA_UNICODE_STRING userRights, ULONG countOfRights) in AddAccountRights()
154 (_handle, accountSid, userRights, countOfRights); in AddAccountRights()
156 NTSTATUS AddAccountRights(PSID accountSid, PLSA_UNICODE_STRING userRights) in AddAccountRights()
157 { return AddAccountRights(accountSid, userRights, 1); } in AddAccountRights()
159 …NTSTATUS RemoveAccountRights(PSID accountSid, bool allRights, PLSA_UNICODE_STRING userRights, ULON… in RemoveAccountRights()
160 …ccountRights(_handle, accountSid, (BOOLEAN)(allRights ? TRUE : FALSE), userRights, countOfRights);… in RemoveAccountRights()
DSecurityUtils.cpp123 LSA_UNICODE_STRING userRights; in AddLockMemoryPrivilege() local
125 SetLsaString(s, &userRights); in AddLockMemoryPrivilege()
169 NTSTATUS status = policy.AddAccountRights(psid, &userRights); in AddLockMemoryPrivilege()