Select to view content in your preferred language

Create user in custom role using Python API

471
1
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

1 Reply
ThomasM
Occasional Contributor

Having this same issue. Were you ever able to figure it out?

GIS Specialist - MO Office of Geospatial Information
0 Kudos