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

NameDescriptionTypeAdditional information
entityId

globally unique identifier

Required

isFolder

boolean

Required

Body Parameters

User
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

Permission

PermissionLevel

None.

Inherited

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "28aa7dda-c68f-44b1-b400-303048e3323c",
  "Permission": 0,
  "Inherited": true
}

Response Information

Resource Description

Collection of User
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

Permission

PermissionLevel

None.

Inherited

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserId": "9063f56a-7749-4d2e-9e86-b8cef7f66fe7",
    "Permission": 0,
    "Inherited": true
  },
  {
    "UserId": "9063f56a-7749-4d2e-9e86-b8cef7f66fe7",
    "Permission": 0,
    "Inherited": true
  }
]