예제 #1
0
        public ArrayList EnumerateUsers(string OuDn)
        { 
            ArrayList alObjects = new ArrayList();

            IRM.Library.Security.AccountManagement am = new AccountManagement();
            List<UserInformation> users = am.GetUsersForGroup("Domain Users");

            foreach (var user in users)
            {
                alObjects.Add(user.DisplayName);
            }
            
            return alObjects;
        }