- Timestamp:
- 12/11/08 16:22:37 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/sources/HeuristicLab.Hive.Contracts/ApplicationConstants.cs ¶
r967 r969 21 21 public static string RESPONSE_USERROLE_ID_MUST_NOT_BE_SET = "UserRole.IdMustNotBeSet"; 22 22 public static string RESPONSE_USERROLE_USERGROUP_ADDED_TO_USERGROUP = "UserRole.UserGroupAddedToUserGroup"; 23 public static string RESPONSE_USERROLE_USERNAME_EXISTS_ALLREADY = "UserRole.UsernameExistsAllready"; 23 24 24 25 public static string RESPONSE_CLIENT_GET_ALL_CLIENTS = "Client.GetAllClients"; -
TabularUnified trunk/sources/HeuristicLab.Hive.Contracts/HiveServerMessages.resx ¶
r967 r969 214 214 <value>The specified job doesn't exist</value> 215 215 </data> 216 <data name="UserRole.UsernameExistsAllready" xml:space="preserve"> 217 <value>A user with this username exists allready</value> 218 </data> 216 219 </root> -
TabularUnified trunk/sources/HeuristicLab.Hive.Server.Core/UserRoleManager.cs ¶
r952 r969 43 43 return response; 44 44 } 45 if (userAdapter.GetUserByName(user.Name) != null) { 46 response.Success = false; 47 response.StatusMessage = ApplicationConstants.RESPONSE_USERROLE_USERNAME_EXISTS_ALLREADY; 48 return response; 49 } 50 45 51 userAdapter.UpdateUser(user); 46 52 response.Obj = user; … … 84 90 return response; 85 91 } 92 86 93 userGroupAdapter.UpdateUserGroup(userGroup); 87 94 response.Obj = userGroup;
Note: See TracChangeset
for help on using the changeset viewer.