Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/10 20:37:39 (14 years ago)
Author:
mjesner
Message:

#1196

File:
1 edited

Legend:

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

    r4740 r4926  
    1515        User GetUser(Guid id);
    1616
    17         //[OperationContract]
    18         //User GetUser(Guid applicationId, string userName);
     17     
     18        [OperationContract]
     19        IEnumerable<User> GetUsers(Guid applicationId);
    1920
    20         //[OperationContract]
    21         //IEnumerable<User> GetUsers(Guid applicationId);
     21        [OperationContract]
     22        bool InsertUser(User user);
    2223
    23         //[OperationContract]
    24         //bool InsertUser(User user);
     24        [OperationContract]
     25        bool DeleteUser(Guid id);
    2526
    26         //[OperationContract]
    27         //bool DeleteUser(Guid id);
     27        [OperationContract]
     28        bool UpdateUser(User user);
    2829
    29         //[OperationContract]
    30         //bool UpdateUser(User user);
     30        [OperationContract]
     31        bool AddUserToRole(Guid roleId, Guid userId);
    3132
    32         //[OperationContract]
    33         //bool AddUserToRole(Guid roleId, Guid userId);
     33        [OperationContract]
     34        bool RemoveUserFromRole(Guid roleId, Guid userId);
    3435
    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);
    4038
    4139        #endregion
     
    4341        #region Role
    4442
    45         //[OperationContract]
    46         //Role GetRole(Guid id);
    47        
    48         //[OperationContract]
    49         //Role GetRole(Guid applicationId, string roleName);
     43        [OperationContract]
     44        Role GetRole(Guid id);
    5045
    51         //[OperationContract]
    52         //IEnumerable<Role> GetRoles(Guid applicationId);
     46     
    5347
    54         //[OperationContract]
    55         //bool RoleExists(Guid roleId);
     48        [OperationContract]
     49        IEnumerable<Role> GetRoles(Guid applicationId);
    5650
    57         //[OperationContract]
    58         //bool IsUserInRole(Guid roleId, Guid userId);
    59        
    60         //[OperationContract]
    61         //bool InsertRole(Role role);
     51        [OperationContract]
     52        bool InsertRole(Role role);
    6253
    63         //[OperationContract]
    64         //bool UpdateRole(Role role);
     54        [OperationContract]
     55        bool UpdateRole(Role role);
    6556
    66         //[OperationContract]
    67         //bool DeleteRole(Guid id);
     57        [OperationContract]
     58        bool DeleteRole(Guid id);
    6859
    69         //[OperationContract]
    70         //IEnumerable<User> GetUsersInRole(Guid roleId);
    71        
     60        [OperationContract]
     61        IEnumerable<User> GetUsersInRole(Guid roleId);
     62
    7263        #endregion
    7364
    7465        #region Application
    7566
    76         //[OperationContract]
    77         //Application GetApplication(Guid id);
     67        [OperationContract]
     68        Application GetApplication(Guid id);
    7869
    79         //[OperationContract]
    80         //Application InsertApplication(Application application);
     70        [OperationContract]
     71        bool InsertApplication(Application application);
    8172
    82         //[OperationContract]
    83         //bool DeleteApplication(Application application);
     73        [OperationContract]
     74        bool DeleteApplication(Guid id);
    8475
    85         // [OperationContract]
    86         //IEnumerable<DataTransfer.Application> GetApplications();
     76        [OperationContract]
     77        IEnumerable<DataTransfer.Application> GetApplications();
    8778
    8879        #endregion
    8980
    90         #region Membership
    91 
    92         //[OperationContract]
    93         //Membership InsertMembership(Membership membership);
    94 
    95         #endregion
     81       
    9682    }
    9783}
Note: See TracChangeset for help on using the changeset viewer.