- Timestamp:
- 10/10/10 13:20:18 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UserManagement/HeuristicLab.Services.Authentication/Interfaces/IAuthenticationService.cs
r4588 r4590 1 1 using System; 2 2 using System.Collections.Generic; 3 using System.Linq;4 using System.Text;5 3 using HeuristicLab.Services.Authentication.DataTransfer; 6 4 using System.ServiceModel; … … 13 11 { 14 12 #region User 13 15 14 [OperationContract] 16 15 User GetUser(Guid id); … … 20 19 21 20 [OperationContract] 22 void InsertUser(User user); 21 bool InsertUser(User user); 22 23 [OperationContract] 24 bool DeleteUser(Guid id); 25 26 [OperationContract] 27 bool UpdateUser(User user); 28 23 29 #endregion 24 30 31 #region Role 32 33 [OperationContract] 34 Role GetRole(Guid id); 35 36 [OperationContract] 37 IEnumerable<Role> GetRoles(); 38 39 [OperationContract] 40 bool InsertRole(Role role); 41 42 [OperationContract] 43 bool UpdateRole(Role role); 44 45 [OperationContract] 46 bool DeleteRole(Guid id); 47 48 [OperationContract] 49 bool AddRoleToUser(Guid roleId, Guid userId); 50 51 [OperationContract] 52 bool RemoveRoleFromUser(Guid roleId, Guid userId); 53 54 [OperationContract] 55 IEnumerable<Role> GetRolesForUser(Guid userId); 56 57 #endregion 25 58 } 26 59 }
Note: See TracChangeset
for help on using the changeset viewer.