GET /api/users/{id}/accessgroupmembership
List the named accessgroups a user is member of.
Parameters
| Name |
In |
Description |
Required |
Type |
| id |
path |
GidID for the User |
true |
string |
| lookupField |
query |
Lookup field. Field to use when finding user. Possible values: Id (default), gidid and Code. |
|
string |
Responses
| Code |
Returns |
Type |
| 200 |
OK |
Acos.Websak.UserAPI.Core.Models.AccessGroup[]
|
| 500 |
Internal Server Error |
|
| 401 |
Unauthorized - Missing or invalid access token |
|
| 403 |
Forbidden - Provided access token does not permit usage of this API or data |
|
Response Example
[{
"groupId":"string",
"groupName":"string",
"general":"string",
"createdById":"string",
"fromDate":"string",
"toDate":"string"
}]