Get Enterprise Groups For User

Description

This operation lists the groups assigned to a user account in the configured enterprise group store. You can use the filter parameter to narrow down the search results.

Request Parameters

Parameter

Details

username

The name of the user account for which to return the assigned groups.

filter

An optional wildcard string that can be used to filter a search result to return specific groups.

maxCount

The maximum number of results the client is willing to accept.

f

The response format. The default response format is html.

Values: html | json

Example Usage

https://server.domain.com/gis/portaladmin/groups/getEnterpriseGroupsForUser
username=domain\jdoe
filter=*bldg*
f=json

JSON Response Syntax

{
    "groups": [
        "<group1>",
        "<group2>",
        "<group3>",
        ...
    ],
    "hasMore": <true|false>
}

JSON Response Example

{
    "groups": [
        "domain\Org_Bldg_A",
        "domain\Org_Bldg_B",
        "domain\Org_Bldg_C"
    ],
    "hasMore": false
}

7/5/2017