Skip to main content

List User Groups By User

This endpoint returns all the User Groups a User is a member of.

Sample Request

curl -X GET https://console.jumpcloud.com/api/v2/users/{UserID}/memberof \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: {API_KEY}'

Basic Parameters

ParameterDescription
FilterA filter to apply to the query.Filter structure: <field>:<operator>:<value>.field = Populate with a valid field from an endpoint response.operator = Supported operators are: eq, ne, gt, ge, lt, le, between, search, in.Note: v1 operators differ from v2 operators.value = Populate with the value you want to search for. Is case sensitive. Supports wild cards.EX: GET /api/v2/groups?filter=name:eq:Test+Group.
LimitThe number of records to return at once. Limited to 100.
SkipThe offset into the records to return.
SortThe comma separated fields used to sort the collection.Default sort is ascending, prefix with - to sort descending.
User IDObjectID of the User.

Advanced Parameters

ParameterDescription
Organization IDOrganization identifier that can be obtained from console settings.

Example Output

[
{
"compiledAttributes": {},
"id": "string",
"paths": [
[
{
"attributes": {},
"from": {
"attributes": {},
"id": "string",
"type": "string"
},
"to": {
"attributes": {},
"id": "string",
"type": "string"
}
}
]
],
"type": "active_directory"
}
]

Workflow Library Example

List User Groups by User with Jumpcloud and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop