/**
* @see de.iritgo.aktera.usergroupmgr.UserManager#createUser(java.lang.String, java.lang.String, java.lang.String)
*/
public User createUser(String name, String password, String email) throws UserMgrException
{
User user;
try
{
user = (User) getService(User.ROLE, "persist-user");
}
catch (ServiceException e)
{
throw new UserMgrException("Error getting user service from container", e);
}
user.set(User.Property.NAME, name);
user.set(User.Property.PASSWORD, password);
user.set(User.Property.EMAIL, email);
return user;
}