Esri / ArcREST

python package for REST API (AGS, AGOL, webmap JSON, etc..)
Apache License 2.0
192 stars 155 forks source link

Add_User_Group Sample #194

Closed guyn2gis closed 8 years ago

guyn2gis commented 8 years ago

Looking at the username and groupname variables is there a recommend way to add a single user to multiple groups, or vice versa, multiple users to a single group.

achapkowski commented 8 years ago

@guyn2gis there is no function/command to add a single user to multiple groups, but you can add multiple users to a single group:

see: http://resources.arcgis.com/en/help/arcgis-rest-api/#/Add_Users_to_Group/02r3000002mr000000/