Home | History | Annotate | Download | only in Windows

Lines Matching full:psid

13 bool MyLookupAccountSid(LPCTSTR systemName, PSID sid,

44 static void MyLookupSids(CPolicy &policy, PSID ps)
59 PSID Sid,
67 static PSID GetSid(LPWSTR accountName)
90 PSID pSid = ::HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sidLen);
98 (NULL, accountName, pSid, &sidLen, domainName, &domainLen, &sidNameUse);
101 return pSid;
133 PSID psid = GetSid(userName);
134 if (psid == NULL)
141 NTSTATUS status = policy.EnumerateAccountRights(psid, &userRightsArray, &countOfRights);
172 NTSTATUS status = policy.AddAccountRights(psid, &userRights);
177 HeapFree(GetProcessHeap(), 0, psid);