8 references to IsValidSid
System.DirectoryServices.AccountManagement (8)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (2)
529
if (Interop.Advapi32.
IsValidSid
(pSid) && (Utils.ClassifySID(pSid) == SidType.FakeObject))
584
if (Interop.Advapi32.
IsValidSid
(pSid) && (Utils.ClassifySID(pSid) == SidType.FakeObject))
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (2)
356
if (Interop.Advapi32.
IsValidSid
(pSid) && (Utils.ClassifySID(pSid) == SidType.FakeObject))
421
if (Interop.Advapi32.
IsValidSid
(pSid) && (Utils.ClassifySID(pSid) == SidType.FakeObject))
System\DirectoryServices\AccountManagement\Utils.cs (4)
203
Debug.Assert(Interop.Advapi32.
IsValidSid
(pSid));
436
Debug.Assert(Interop.Advapi32.
IsValidSid
(pUserSid));
506
Debug.Assert(Interop.Advapi32.
IsValidSid
(info.DomainSid));
829
Debug.Assert(Interop.Advapi32.
IsValidSid
(pSid));