Lines Matching refs:SID
39 bool AddSidToDacl(const Sid& sid, ACL* old_dacl, ACCESS_MODE access_mode,
50 const_cast<SID*>(sid.GetPSID()));
58 bool AddSidToDefaultDacl(HANDLE token, const Sid& sid, ACCESS_MASK access) {
67 if (!AddSidToDacl(sid, default_dacl->DefaultDacl, GRANT_ACCESS, access,
90 reinterpret_cast<SID*>(token_user->User.Sid),
95 const Sid& sid, ACCESS_MODE access_mode,
106 if (!AddSidToDacl(sid.GetPSID(), old_dacl, access_mode, access, &new_dacl)) {