Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/11/12 14:29:26 (12 years ago)
Author:
ascheibe
Message:

#1648

  • always update the client information
  • allow a normal user to change the FullName and E-Mail
File:
1 edited

Legend:

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

    r7637 r7982  
    291291    #region User
    292292
    293     public static DT.LightweightUser ToDto(DA.User source, DA.aspnet_User aspUserSource, List<DA.aspnet_Role> roles, List<DA.UserGroup> groups) {
     293    public static DT.LightweightUser ToDto(DA.User source, DA.aspnet_User aspUserSource, DA.aspnet_Membership aspMembershipSource, List<DA.aspnet_Role> roles, List<DA.UserGroup> groups) {
    294294      return new DT.LightweightUser() {
    295295        Id = source.Id,
    296296        FullName = source.FullName,
    297297        UserName = aspUserSource.UserName,
     298        EMail = aspMembershipSource.Email,
    298299        //TODO: check if the roles and groups are include in source
    299300        Roles = roles.Select(x => Convert.ToDto(x)).ToArray(),
Note: See TracChangeset for help on using the changeset viewer.