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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.