public ArrayList GetUsers() { ArrayList userArrayList = new ArrayList(); var users = userAccess.GetUsers(); users.ForEach(user => { userArrayList.Add(user); }); return(userArrayList); }
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); }
public List <uint> GetUsers() { return(userAccess.GetUsers()); }