Пример #1
0
 public static DirectoryEntry GetOU(string ouPathWithoutDefaultNamingContext, string defaultNamingContext)
 {
     return(ADUtil.GetOU(ouPathWithoutDefaultNamingContext, defaultNamingContext));
 }
Пример #2
0
        public static void DeleteGroup(string groupName, string ouPathWithoutDefaultNamingContext)
        {
            DirectoryEntry OU = ADUtil.GetOU(ouPathWithoutDefaultNamingContext);

            DeleteGroup(groupName, OU);
        }