GET /api/users/{id}/addusertoaccessgroupbygroupname/{accessgroupname}
Add user to provided access group.
Description
Adds the user to provided access group. Access group name must already be defined in system.
Parameter {id} – ADBrukernavn
Parameter {accessGroupName} – Websak access group name
Return values : 200 OK, 500 + error message.
Parameters
Name | In | Description | Required | Type |
---|---|---|---|---|
id | path | User AD string identifier | true | string |
accessGroupName | path | Access group id | true | string |
lookupField | query | Lookup field. Field to use when finding user. Possible values: Id (default) and Code. | string |
Responses
Code | Returns | Type |
---|---|---|
200 | Success | |
401 | Unauthorized | ProblemDetails |
500 | Server Error |