I'm working on a python script to query stale users in our Portal and send out email reminders to login. Currently running ArcGIS Enterprise 1081.
I'm looking for ideas on how to create test users and manually set their lastLogin date, so I can test a few different scenarios. For example find users that haven't logged in 90 days, 50 days, 25 days, etc.
I've seen from https://machine.domain.com/webadaptor/sharing/rest/community that I can search for users and view their properties, lastLogin included. Just not sure if this is editable and if so, how to do that.
Thanks!