AnsweredAssumed Answered

Create user in custom role using Python API

Question asked by KGorton-esristaff Employee on Mar 18, 2020

Hi GeoNet


When I create a new user using the Python API and set the role parameter to a custom role that I know to exist in the org, the resulting user does not belong to the role I specified. If I set the role parameter to be a default role the user ends up in that role.


Is there a particular way to set new users into a custom role or is this a known issue?