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