<div dir="ltr">Hi,<div><br></div><div>I&#39;m creating a new user through the admin API. In order to do this I have to make 3 separate calls (<a href="http://www.keycloak.org/docs/rest-api/index.html#_create_a_new_user">createUser</a>, <a href="http://www.keycloak.org/docs/rest-api/index.html#_set_up_a_temporary_password_for_the_user">resetPassword</a> and <a href="http://www.keycloak.org/docs/rest-api/index.html#_add_realm_level_role_mappings_to_the_user_2">addRealmLevelRoles</a>) as the credentials and realm roles in the <a href="http://www.keycloak.org/docs/rest-api/index.html#_userrepresentation">UserRepresentation</a> are ignored. I then have to make another call to <a href="http://www.keycloak.org/docs/rest-api/index.html#_get_effective_realm_level_role_mappings_2">getEffectiveRealmLevelRoles</a> as the <a href="http://www.keycloak.org/docs/rest-api/index.html#_get_represenation_of_the_user">getUser</a> method doesn&#39;t return the roles. If I were to require the client level roles this would be 6 calls to create and return the user. </div><div><br></div><div>Is there a reason as to why this is the case? </div><div><br></div><div>As an aside, in the docs the reset password method is called &quot;Set up a temporary password for the user&quot; but in my experience the password is never temporary regardless of the value of the temporary flag. </div><div><br></div><div>Kind regards,</div><div>Tom</div></div>