gis.users.create autotmatically sends an email to the new users - I want to override this!

301
0
03-23-2023 08:26 AM
Dirk_Vandervoort
New Contributor III

I have a line:

the_result = gis.users.create(provider='enterprise',password=None,email=email,firstname=firstname,lastname=lastname,username=username,role="iAAAAAAAAAAAAAAA",user_type="ViewerUT")

When it executes and the user is created, the users gets a "You've been invited!" email.

I want to shut this functionality off:

  • Can I do this in the Python API for GIS?
  • I can't find a setting for this in ArcGIS Online

Thanks in advance.

0 Kudos
0 Replies