
yaxnk (yaxnk) asked a question.
Hello everyone,
I'm using the following API call to list group members: https://developer.okta.com/docs/reference/api/groups/*list-group-members.
The object returned is of type User[]. On such User object, there's a status attribute.
I want to make sure that this status attribute is not in context of the group - meaning that if we'll get some user's information, we'll see they're ACTIVE, but in regard of the group - they will appear as LOCKED OUT or something.
What I'm trying to ask is if the status returned from on a user object on this API: https://developer.okta.com/docs/reference/api/groups/*list-group-members will be identical to the one returned from this API: https://developer.okta.com/docs/reference/api/users/*get-user

The API is listing Users that happen to be in a specific group. The returned values match what would be retrieved when pulling the user's profile data via the Users endpoint.
Keep in mind the STATUS labels are slightly different between the Okta Admin UI and what the API returns. See: https://help.okta.com/en-us/Content/Topics/users-groups-profiles/usgp-end-user-states.htm