To get data for a single user resource, the GET /environments/{environmentId}/users/{userId} operation returns data only for the user resource with the ID specified in the request URL.

This request supports the expand=population query parameter to show information about the user’s population assignment.

To include all group names or all group IDs for the user in the results, append include=memberOfGroupNames or include=memberOfGroupIDs to the request. You must have the Identity Data Admin role to read group membership. For more information about groups, see Groups.