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": "8a530c8a-f821-4d2e-9602-172d6ea9531e", "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": "612c7871-7367-4383-9c98-fb69c61907e8", "Permission": 0, "Inherited": true }, { "UserId": "612c7871-7367-4383-9c98-fb69c61907e8", "Permission": 0, "Inherited": true } ]