Changeset 9063 for trunk/sources/HeuristicLab.Clients.Access.Administration
- Timestamp:
- 12/17/12 10:48:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Access.Administration/3.3/MenuItems/UserAdministrationMenuItem.cs
r8043 r9063 35 35 } 36 36 public override void Execute() { 37 if (!UserInformation.Instance.UserExists) { 38 MessageBox.Show("Couldn't fetch user information from the server." + Environment.NewLine + "Please verify that you have an existing user and that your user name and password is correct. ", "HeuristicLab Access Service", MessageBoxButtons.OK, MessageBoxIcon.Error); 39 return; 40 } 37 41 if (UserInformation.Instance.User.Roles.Where(x => x.Name == UserInformation.AdministratorRoleName).Count() > 0) { 38 42 using (UserAdministrationDialog dialog = new UserAdministrationDialog()) {
Note: See TracChangeset
for help on using the changeset viewer.