Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/19/18 03:29:24 (7 years ago)
Author:
swagner
Message:

#2877: Improved User Administration GUI

  • sorted users, groups and roles by name
  • made password textbox in password reset dialog read-only
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2877_HiveImprovements/HeuristicLab.Clients.Access.Administration/3.3/AccessAdministrationClient.cs

    r15583 r15632  
    2121
    2222using System;
     23using System.Linq;
    2324using HeuristicLab.Clients.Common;
    2425using HeuristicLab.Common;
     
    5354    public void RefreshUsers() {
    5455      users = new ItemList<User>();
    55       users.AddRange(CallAccessService<ItemList<User>>(s => new ItemList<User>(s.GetAllUsers())));
     56      users.AddRange(CallAccessService<ItemList<User>>(s => new ItemList<User>(s.GetAllUsers().OrderBy(x => x.UserName))));
    5657    }
    5758
     
    6263    public void RefreshUserGroups() {
    6364      Groups = new ItemList<UserGroup>();
    64       Groups.AddRange(CallAccessService<ItemList<UserGroup>>(s => new ItemList<UserGroup>(s.GetAllUserGroups())));
     65      Groups.AddRange(CallAccessService<ItemList<UserGroup>>(s => new ItemList<UserGroup>(s.GetAllUserGroups().OrderBy(x => x.Name))));
    6566    }
    6667
     
    7172    public void RefreshRoles() {
    7273      Roles = new ItemList<Role>();
    73       Roles.AddRange(CallAccessService<ItemList<Role>>(s => new ItemList<Role>(s.GetRoles())));
     74      Roles.AddRange(CallAccessService<ItemList<Role>>(s => new ItemList<Role>(s.GetRoles().OrderBy(x => x.Name))));
    7475    }
    7576
Note: See TracChangeset for help on using the changeset viewer.