🔧 Maintenance Alert: World will be on Read-Only Mode on February 18th, 10:00 PM – 11:00 PM EST / 7:00 PM – 8:00 PM PST / 4:00 AM – 5:00 AM CET (Feb 19). Browsing available, but log-ins and submissions will be disabled.
AI OnAI Off
I'm looking to grab the entire list of users who are not administrators and deactivate them.
I've found a way to do it, but it's not elegant and feels very hacky. I'm writing it as a Scheduled Job:
The only function I could find to grab all users was the GetAllUsersAsync... which is async and needed wrapping in order to use it from my non-async function.
Does anyone have a better way to do this?
Cheers,
Lance