Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/28/10 15:27:04 (14 years ago)
Author:
jwolfing
Message:

#1196 Changed BaseClasses in Data Transfer Objects, added Methods to User and Role ServiceClasses

File:
1 edited

Legend:

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

    r4964 r4979  
    1515        User GetUser(Guid id);
    1616
    17 
    18         // IEnumerable<User> GetUsers();
     17        [OperationContract]
     18        IEnumerable<User> GetAllUsers();
    1919
    2020        [OperationContract]
     
    2222
    2323        [OperationContract]
    24         Guid InsertUser(User user);         // => AddUser
     24        Guid AddUser(User user);       
    2525
    2626        [OperationContract]
     
    3434
    3535        [OperationContract]
     36        IEnumerable<Guid> GetUsersInRole(Guid roleId);
     37
     38        //[OperationContract]
     39        //IEnumerable<User> GetUsersInRole(Guid roleId); // return = Guid
     40
     41        [OperationContract]
    3642        bool RemoveUserFromRole(Guid roleId, Guid userId);
    3743
    3844        [OperationContract]
    39         IEnumerable<Role> GetRolesForUser(Guid userId);  // returnvalue = GUID
    40 
    41 
    42       // IsUserInRole
    43       //
     45        bool IsUserInRole(Guid userId, Guid roleId);
    4446
    4547        #endregion
     
    5052        Role GetRole(Guid id);
    5153
    52 
    53         //IEnumerable<Role> GetRoles();
     54        [OperationContract]
     55        IEnumerable<Role> GetAllRoles();
    5456
    5557        [OperationContract]
     
    5759
    5860        [OperationContract]
    59         Guid InsertRole(Role role); // Add
     61        Guid AddRole(Role role);
    6062
    6163        [OperationContract]
     
    6567        bool DeleteRole(Guid id);
    6668
     69
    6770        [OperationContract]
    68         IEnumerable<User> GetUsersInRole(Guid roleId); // return = Guid
     71        IEnumerable<Guid> GetRolesForUser(Guid userId);
     72
     73
     74        //[OperationContract]
     75        //IEnumerable<Role> GetRolesForUser(Guid userId);  // returnvalue = GUID
    6976
    7077        #endregion
     
    7683
    7784        [OperationContract]
    78         Guid InsertApplication(Application application); // ADD
     85        Guid AddApplication(Application application); // ADD
    7986
    8087        [OperationContract]
Note: See TracChangeset for help on using the changeset viewer.