- Timestamp:
- 11/28/10 15:27:04 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UserManagement/HeuristicLab.Services.Authentication/Interfaces/IAuthenticationService.cs
r4964 r4979 15 15 User GetUser(Guid id); 16 16 17 18 // IEnumerable<User> GetUsers();17 [OperationContract] 18 IEnumerable<User> GetAllUsers(); 19 19 20 20 [OperationContract] … … 22 22 23 23 [OperationContract] 24 Guid InsertUser(User user); // => AddUser24 Guid AddUser(User user); 25 25 26 26 [OperationContract] … … 34 34 35 35 [OperationContract] 36 IEnumerable<Guid> GetUsersInRole(Guid roleId); 37 38 //[OperationContract] 39 //IEnumerable<User> GetUsersInRole(Guid roleId); // return = Guid 40 41 [OperationContract] 36 42 bool RemoveUserFromRole(Guid roleId, Guid userId); 37 43 38 44 [OperationContract] 39 IEnumerable<Role> GetRolesForUser(Guid userId); // returnvalue = GUID 40 41 42 // IsUserInRole 43 // 45 bool IsUserInRole(Guid userId, Guid roleId); 44 46 45 47 #endregion … … 50 52 Role GetRole(Guid id); 51 53 52 53 //IEnumerable<Role> GetRoles();54 [OperationContract] 55 IEnumerable<Role> GetAllRoles(); 54 56 55 57 [OperationContract] … … 57 59 58 60 [OperationContract] 59 Guid InsertRole(Role role); // Add61 Guid AddRole(Role role); 60 62 61 63 [OperationContract] … … 65 67 bool DeleteRole(Guid id); 66 68 69 67 70 [OperationContract] 68 IEnumerable<User> GetUsersInRole(Guid roleId); // return = Guid 71 IEnumerable<Guid> GetRolesForUser(Guid userId); 72 73 74 //[OperationContract] 75 //IEnumerable<Role> GetRolesForUser(Guid userId); // returnvalue = GUID 69 76 70 77 #endregion … … 76 83 77 84 [OperationContract] 78 Guid InsertApplication(Application application); // ADD85 Guid AddApplication(Application application); // ADD 79 86 80 87 [OperationContract]
Note: See TracChangeset
for help on using the changeset viewer.