17 references to IsOfObjectClass
System.DirectoryServices.AccountManagement (17)
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (1)
145return SAMUtils.IsOfObjectClass(de, className);
System\DirectoryServices\AccountManagement\SAM\SAMMembersSet.cs (1)
187if (!_recursive || !SAMUtils.IsOfObjectClass(de, "Group"))
System\DirectoryServices\AccountManagement\SAM\SAMQuerySet.cs (1)
146if (SAMUtils.IsOfObjectClass(de, schemaType))
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (2)
163Debug.Assert(SAMUtils.IsOfObjectClass(ctxBase, "Computer")); 1004Debug.Assert(SAMUtils.IsOfObjectClass(_ctxBase, "Computer"));
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"))