Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/11/08 16:22:37 (16 years ago)
Author:
msteinbi
Message:

Implementation of UserRoleManager (#417)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/UserRoleManager.cs

    r952 r969  
    4343        return response;
    4444      }
     45      if (userAdapter.GetUserByName(user.Name) != null) {
     46        response.Success = false;
     47        response.StatusMessage = ApplicationConstants.RESPONSE_USERROLE_USERNAME_EXISTS_ALLREADY;
     48        return response;
     49      }
     50
    4551      userAdapter.UpdateUser(user);
    4652      response.Obj = user;
     
    8490        return response;
    8591      }
     92
    8693      userGroupAdapter.UpdateUserGroup(userGroup);
    8794      response.Obj = userGroup;
Note: See TracChangeset for help on using the changeset viewer.