GET User Groups
GET /admin/user/{login}/group
Get all groups the specified user participates in.
GET /rest/admin/user/{login}/group
Parameters:
Name | Type | Description |
---|---|---|
login | string | Login name of a user. |
Sample
Request:
HTTP GET: /admin/user/root/group
Response:
<userGroupRefs>
<userGroup name="All Users" url="https://example.com/youtrack/charisma/rest/admin/group/All Users"/>
<userGroup name="test-group" url="https://example.com/youtrack/charisma/rest/admin/group/test-group"/>
<userGroup name="some bla bla" url="https://example.com/youtrack/charisma/rest/admin/group/some bla bla"/>
<userGroup name="very very very long group name" url="https://example.com/youtrack/charisma/rest/admin/group/very very very long group name"/>
</userGroupRefs>
Last modified: 16 March 2020