I have a script that lists inactive users. I want to add these inactive users to a group so that I can notify them by using the notify.group method. Is there a way for me to simply add user to a group, as well as removing them after?
group.add_users(usernames=YourList) group.remove_users(usernames=YourList)
Thank you!
It might be easier to do this without a group. From the User Manager, you can call send_notification with a list of usernames.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.