public LoginAccount CreateUser(LoginAccount user, Roles[] roles) { var roles_parsed = string.Join(",", roles.Select(VeracodeEnumConverter.Convert).ToArray()); var xml = _wrapper.CreateUser(user.first_name, user.last_name, user.email_address, roles_parsed, user.teams); return(XmlParseHelper.Parse <userinfo>(xml).login_account); }