9 references to ClassifySID
System.DirectoryServices.AccountManagement (9)
System\DirectoryServices\AccountManagement\AD\ADDNLinkedAttrSet.cs (1)
689SidType sidType = Utils.ClassifySID(foreignSid.pSid);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (2)
529if (Interop.Advapi32.IsValidSid(pSid) && (Utils.ClassifySID(pSid) == SidType.FakeObject)) 584if (Interop.Advapi32.IsValidSid(pSid) && (Utils.ClassifySID(pSid) == SidType.FakeObject))
System\DirectoryServices\AccountManagement\AuthZSet.cs (2)
256SidType sidType = Utils.ClassifySID(pSid); 422if (Utils.ClassifySID(pSid) == SidType.RealObject && Interop.Advapi32.EqualDomainSid(_psUserSid.DangerousGetHandle(), pSid, ref sameDomain))
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (2)
356if (Interop.Advapi32.IsValidSid(pSid) && (Utils.ClassifySID(pSid) == SidType.FakeObject)) 421if (Interop.Advapi32.IsValidSid(pSid) && (Utils.ClassifySID(pSid) == SidType.FakeObject))
System\DirectoryServices\AccountManagement\Utils.cs (2)
191return ClassifySID(pSid); 305SidType sidType = ClassifySID(pCopyOfUserSid);