Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/10/10 13:20:18 (14 years ago)
Author:
mjesner
Message:

#1196

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UserManagement/HeuristicLab.Services.Authentication/Interfaces/IAuthenticationService.cs

    r4588 r4590  
    11using System;
    22using System.Collections.Generic;
    3 using System.Linq;
    4 using System.Text;
    53using HeuristicLab.Services.Authentication.DataTransfer;
    64using System.ServiceModel;
     
    1311    {
    1412        #region User
     13
    1514        [OperationContract]
    1615        User GetUser(Guid id);
     
    2019
    2120        [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
    2329        #endregion
    2430
     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
    2558    }
    2659}
Note: See TracChangeset for help on using the changeset viewer.