POST api/modeler/users/addupdateuser?entityId={entityId}&isFolder={isFolder}
Adds a user or updates their permissions on the security list for the folder/model
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
entityId | globally unique identifier |
Required |
|
isFolder | boolean |
Required |
Body Parameters
UserName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
Permission | PermissionLevel |
None. |
|
Inherited | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "4a63f923-e9cc-4c86-9a7f-6fd4e33e84cd", "Permission": 0, "Inherited": true }
Response Information
Resource Description
Collection of UserName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
Permission | PermissionLevel |
None. |
|
Inherited | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "UserId": "1cb7aea5-b3eb-4d01-b5f1-98924901c3cf", "Permission": 0, "Inherited": true }, { "UserId": "1cb7aea5-b3eb-4d01-b5f1-98924901c3cf", "Permission": 0, "Inherited": true } ]