Read user fields and status

12 views
Skip to first unread message

Juan Taveras

unread,
Jan 3, 2024, 1:36:29 PMJan 3
to Foresight Community
Hello,

Would like to find a way to read user status ( active, disabled, archived) and users profile info like manager, city and others.

example. Delete a device when not in use for x days. It works and sends an email now but if the user is disabled, it should just skip and delete.

thanks

Jason Huang

unread,
Jan 3, 2024, 7:40:16 PMJan 3
to Foresight Community, juan.t...@certik.com
Hello, 

I wish you a happy new year!

Yes, the action you're looking is Get user info, which would retrieve the user status (suspended, archived), user manager, department information etc. 
After the Get user info action, add an If action. You can set conditions based on the user's statuses, e.g. Is Suspended? is true

I hope it helps.
Thank you.

Reply all
Reply to author
Forward
0 new messages