Create user in custom role using Python API

122
0
03-18-2020 09:12 AM
KenGorton
Esri Contributor

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?

Thanks,

Ken

0 Kudos
0 Replies