Our Gallery isn't connected directly to our HR system. So, when an employee is terminated their access is not revoked from the gallery. I can connect to our HR system to check for terminated employees and I know how to read from the MongoDB to get the user's info(Alteryx Gallery Database and users collection).
What I don't know how to do is WRITE to the mongoDB to revoke the users access. I'm guessing I would want to change the following fields to "False"
Active, CanSchedule, CanSetPriority, CanSetWorkerTag,CanCreateCollections and set AccountLocked to True? Is that correct? If so, how can we write to the MongoDB?
Thanks,
Craig