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": "a56a03db-57d8-4868-8f50-1de2f4a19612", "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": "1fa4f8ae-455c-44f7-b4ba-732ea040b829", "Permission": 0, "Inherited": true }, { "UserId": "1fa4f8ae-455c-44f7-b4ba-732ea040b829", "Permission": 0, "Inherited": true } ]