Lines Matching full:sid
54 PSID pSid, // binary Sid in alloc_textual_sid()
55 LPSTR *pTextualSid // buffer for Textual representation of Sid in alloc_textual_sid()
66 // test if Sid passed in is valid in alloc_textual_sid()
152 PSID Sid, in alloc_username() argument
167 LookupAccountSidA(NULL, Sid, 0, &name_len, 0, &domain_len, &snu); in alloc_username()
179 …if (!LookupAccountSidA(NULL, Sid, name, &name_len, domain, &domain_len, &snu)) status = GetLastErr… in alloc_username()
234 LPSTR sid = 0; in alloc_name_NT() local
260 if (!status) {status = alloc_username(ptu->User.Sid, &name, &domain);} in alloc_name_NT()
261 if (!status) {status = alloc_textual_sid(ptu->User.Sid, &sid);} in alloc_name_NT()
275 // "prefix.domain.name.sid.lid.postfix" (usually under 80 in alloc_name_NT()
288 if (sid) in alloc_name_NT()
289 free_alloc_p(&sid); in alloc_name_NT()
322 // Get SID: in alloc_own_security_descriptor_NT()
326 size = GetLengthSid(ptu->User.Sid); in alloc_own_security_descriptor_NT()
331 if (!CopySid(size, pSid, ptu->User.Sid)) status = GetLastError(); in alloc_own_security_descriptor_NT()