Hi, I’m trying to get a time-stamp property/ any information regarding when a particular user( based on userId) is added to a particular group( based on group Id).
Is there a way to achieve this?/ How can I get that?
Hi, I’m trying to get a time-stamp property/ any information regarding when a particular user( based on userId) is added to a particular group( based on group Id).
Is there a way to achieve this?/ How can I get that?
That info isn’t saved on the user or group object, but it’s available in the system log.
You could poll/watch the system log for the group.user_membership.add
event, and look for events where the targets are the userId and groupId you are interested in:
Joël’s blog post and loghook tool may be useful: https://developer.okta.com/blog/2017/10/17/add-the-power-of-webhooks-to-your-app-with-oktas-system-log
Hi
Thanks for the answer, That should suffice.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.