- Timestamp:
- 12/10/08 09:43:58 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Core/UserRoleManager.cs
r907 r929 17 17 18 18 IUserAdapter userAdapter; 19 ResourceManager rm;20 19 21 20 public UserRoleManager() { 22 21 userAdapter = ServiceLocator.GetUserAdapter(); 23 rm = new ResourceManager("HiveServerMessages.resx", Assembly.GetExecutingAssembly());24 22 25 23 users = new List<User>(); … … 30 28 users.Add(new User { PermissionOwnerId = 3, Name = "Greg", Password = "greg" }); 31 29 32 userGroups.Add(new UserGroup { UserGroupId = 1});33 userGroups.Add(new UserGroup { UserGroupId = 2});30 userGroups.Add(new UserGroup { PermissionOwnerId = 4 }); 31 userGroups.Add(new UserGroup { PermissionOwnerId = 5 }); 34 32 } 35 33 … … 79 77 response.Success = true; 80 78 response.StatusMessage = ApplicationConstants.RESPONSE_USERROLE_USER_REMOVED; 81 79 82 80 return response; 83 81 }
Note: See TracChangeset
for help on using the changeset viewer.