22 references to SAMUtils
System.DirectoryServices.AccountManagement (22)
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (1)
145return SAMUtils.IsOfObjectClass(de, className);
System\DirectoryServices\AccountManagement\SAM\SAMGroupsSet.cs (1)
36return SAMUtils.DirectoryEntryAsPrincipal(_current, _storeCtx);
System\DirectoryServices\AccountManagement\SAM\SAMMembersSet.cs (2)
48return SAMUtils.DirectoryEntryAsPrincipal(_current, _storeCtx); 187if (!_recursive || !SAMUtils.IsOfObjectClass(de, "Group"))
System\DirectoryServices\AccountManagement\SAM\SAMQuerySet.cs (3)
50return SAMUtils.DirectoryEntryAsPrincipal(_current, _storeCtx); 146if (SAMUtils.IsOfObjectClass(de, schemaType)) 337regex = new Regex(SAMUtils.PAPIQueryToRegexString(wildcardFilter), RegexOptions.Singleline);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (3)
163Debug.Assert(SAMUtils.IsOfObjectClass(ctxBase, "Computer")); 1004Debug.Assert(SAMUtils.IsOfObjectClass(_ctxBase, "Computer")); 1012if (!SAMUtils.GetOSVersion(_ctxBase, out versionMajor, out versionMinor))
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (8)
601if ((principalType == typeof(UserPrincipal)) && SAMUtils.IsOfObjectClass(de, "User")) 603else if ((principalType == typeof(GroupPrincipal)) && SAMUtils.IsOfObjectClass(de, "Group")) 605else if ((principalType == typeof(ComputerPrincipal)) && SAMUtils.IsOfObjectClass(de, "Computer")) 608(SAMUtils.IsOfObjectClass(de, "User") || SAMUtils.IsOfObjectClass(de, "Computer"))) 614if (SAMUtils.IsOfObjectClass(de, "User") || SAMUtils.IsOfObjectClass(de, "Group") || SAMUtils.IsOfObjectClass(de, "Computer"))
System\DirectoryServices\AccountManagement\SAM\SAMUtils.cs (4)
25Debug.Assert(SAMUtils.IsOfObjectClass(computerDE, "Computer")); 100if (SAMUtils.IsOfObjectClass(de, "Computer") || 101SAMUtils.IsOfObjectClass(de, "User") || 102SAMUtils.IsOfObjectClass(de, "Group"))