Esempio n. 1
0
        public ArrayList GetUsers()
        {
            ArrayList userArrayList = new ArrayList();
            var       users         = userAccess.GetUsers();

            users.ForEach(user => { userArrayList.Add(user); });
            return(userArrayList);
        }
Esempio n. 2
0
        public List <UserDetailStruct> GetAllUsers()
        {
            List <uint>             userIDs = access.GetUsers();
            List <UserDetailStruct> result  = new List <UserDetailStruct>();

            foreach (uint ID in userIDs)
            {
                UserDetailStruct entry = new UserDetailStruct();

                access.SelectUser(ID);
                entry.userID = ID;
                access.GetUserName(out entry.firstName, out entry.lastName);
                result.Add(entry);
            }
            return(result);
        }
Esempio n. 3
0
 public List <uint> GetUsers()
 {
     return(userAccess.GetUsers());
 }