- Timestamp:
- 11/24/10 20:37:39 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UserManagement/HeuristicLab.Services.Authentication/Interfaces/IAuthenticationService.cs
r4740 r4926 15 15 User GetUser(Guid id); 16 16 17 //[OperationContract] 18 //User GetUser(Guid applicationId, string userName); 17 18 [OperationContract] 19 IEnumerable<User> GetUsers(Guid applicationId); 19 20 20 //[OperationContract]21 //IEnumerable<User> GetUsers(Guid applicationId);21 [OperationContract] 22 bool InsertUser(User user); 22 23 23 //[OperationContract]24 //bool InsertUser(User user);24 [OperationContract] 25 bool DeleteUser(Guid id); 25 26 26 //[OperationContract]27 //bool DeleteUser(Guid id);27 [OperationContract] 28 bool UpdateUser(User user); 28 29 29 //[OperationContract]30 //bool UpdateUser(User user);30 [OperationContract] 31 bool AddUserToRole(Guid roleId, Guid userId); 31 32 32 //[OperationContract]33 //bool AddUserToRole(Guid roleId, Guid userId);33 [OperationContract] 34 bool RemoveUserFromRole(Guid roleId, Guid userId); 34 35 35 //[OperationContract] 36 //bool RemoveUserFromRole(Guid roleId, Guid userId); 37 38 //[OperationContract] 39 //IEnumerable<Role> GetRolesForUser(Guid userId); 36 [OperationContract] 37 IEnumerable<Role> GetRolesForUser(Guid userId); 40 38 41 39 #endregion … … 43 41 #region Role 44 42 45 //[OperationContract] 46 //Role GetRole(Guid id); 47 48 //[OperationContract] 49 //Role GetRole(Guid applicationId, string roleName); 43 [OperationContract] 44 Role GetRole(Guid id); 50 45 51 //[OperationContract] 52 //IEnumerable<Role> GetRoles(Guid applicationId); 46 53 47 54 //[OperationContract]55 //bool RoleExists(Guid roleId);48 [OperationContract] 49 IEnumerable<Role> GetRoles(Guid applicationId); 56 50 57 //[OperationContract] 58 //bool IsUserInRole(Guid roleId, Guid userId); 59 60 //[OperationContract] 61 //bool InsertRole(Role role); 51 [OperationContract] 52 bool InsertRole(Role role); 62 53 63 //[OperationContract]64 //bool UpdateRole(Role role);54 [OperationContract] 55 bool UpdateRole(Role role); 65 56 66 //[OperationContract]67 //bool DeleteRole(Guid id);57 [OperationContract] 58 bool DeleteRole(Guid id); 68 59 69 //[OperationContract]70 //IEnumerable<User> GetUsersInRole(Guid roleId);71 60 [OperationContract] 61 IEnumerable<User> GetUsersInRole(Guid roleId); 62 72 63 #endregion 73 64 74 65 #region Application 75 66 76 //[OperationContract]77 //Application GetApplication(Guid id);67 [OperationContract] 68 Application GetApplication(Guid id); 78 69 79 //[OperationContract]80 //ApplicationInsertApplication(Application application);70 [OperationContract] 71 bool InsertApplication(Application application); 81 72 82 //[OperationContract]83 //bool DeleteApplication(Application application);73 [OperationContract] 74 bool DeleteApplication(Guid id); 84 75 85 //[OperationContract]86 //IEnumerable<DataTransfer.Application> GetApplications();76 [OperationContract] 77 IEnumerable<DataTransfer.Application> GetApplications(); 87 78 88 79 #endregion 89 80 90 #region Membership 91 92 //[OperationContract] 93 //Membership InsertMembership(Membership membership); 94 95 #endregion 81 96 82 } 97 83 }
Note: See TracChangeset
for help on using the changeset viewer.