Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.ServiceModel;
|
---|
6 | using HeuristicLab.Hive.Contracts.BusinessObjects;
|
---|
7 |
|
---|
8 | namespace HeuristicLab.Hive.Contracts.Interfaces {
|
---|
9 | /// <summary>
|
---|
10 | /// This is the facade for the User/Role Manager used by the Management Console
|
---|
11 | /// </summary>
|
---|
12 | [ServiceContract]
|
---|
13 | public interface IUserRoleManager {
|
---|
14 | [OperationContract]
|
---|
15 | ResponseList<User> GetAllUsers();
|
---|
16 | [OperationContract]
|
---|
17 | Response AddNewUser(User user);
|
---|
18 | [OperationContract]
|
---|
19 | Response RemoveUser(long userId);
|
---|
20 | [OperationContract]
|
---|
21 | Response AddNewUserGroup(UserGroup userGroup);
|
---|
22 | [OperationContract]
|
---|
23 | Response RemoveUserGroup(long groupId);
|
---|
24 | [OperationContract]
|
---|
25 | ResponseList<UserGroup> GetAllUserGroups();
|
---|
26 | [OperationContract]
|
---|
27 | Response AddUserToGroup(long groupId, long userId);
|
---|
28 | [OperationContract]
|
---|
29 | Response AddUserGroupToGroup(long groupId, long groupToAddId);
|
---|
30 | [OperationContract]
|
---|
31 | Response RemovePermissionOwnerFromGroup(long groupId, long userId);
|
---|
32 | }
|
---|
33 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.