Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/20/12 13:39:59 (13 years ago)
Author:
ascheibe
Message:

#1648 added ui for assigning users to groups

Location:
branches/ClientUserManagement/HeuristicLab.Services.Access/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ClientUserManagement/HeuristicLab.Services.Access/3.3/AccessService.cs

    r7637 r7639  
    716716      }
    717717    }
     718
     719    public IEnumerable<Guid> GetUserGroupIdsOfGroup(Guid groupId) {
     720      using (DA.AccessServiceDataContext context = new DA.AccessServiceDataContext()) {
     721        var query = from u in context.UserGroupUserGroups
     722                    where u.UserGroupUserGroupId == groupId
     723                    select u.UserGroupId;
     724        return query.ToList();
     725      }
     726    }
    718727    #endregion
    719728
  • branches/ClientUserManagement/HeuristicLab.Services.Access/3.3/IAccessService.cs

    r7612 r7639  
    187187    [OperationContract]
    188188    IEnumerable<UserGroupMapping> GetUserGroupMapping();
     189
     190    [OperationContract]
     191    IEnumerable<Guid> GetUserGroupIdsOfGroup(Guid groupId);
    189192    #endregion
    190193
Note: See TracChangeset for help on using the changeset viewer.