User Filters

Deprecated

Get User filter

get

Retrieve the filtered user accounts device names for the specified published resource. Deprecated path - Use Criteria section instead.

Path parameters
idinteger · int32Required

ID of the published resource to be acquired.

Responses
200
Success
application/json; api-version=1.0
get
GET /api/PubItems/{id}/UserFilters HTTP/1.1
Host: 
Accept: */*
[
  {
    "account": "text",
    "type": [
      "1 = User",
      "2 = Group",
      "3 = ForeignSecurityPrincipal",
      "4 = Computer"
    ],
    "sid": "text"
  }
]
Deprecated

Add User filter

post

Add a User account to the filter of type 'User' for the specified published resource. Deprecated path - Use Criteria section instead.

Path parameters
idinteger · int32Required

ID of the published resource to be updated

Body

Add a user or group account to the filter of type 'User' for the specified published resource

accountstring | nullableOptional

The name of the user/group account to add to the filter.

sidstring | nullableOptional

The SID of the user/group account to add to the filter.

Responses
201
Created
post
POST /api/PubItems/{id}/UserFilters HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 31

{
  "account": "text",
  "sid": "text"
}

No content

Deprecated

Delete User filter

delete

Delete a User account from the filter of type 'User' for the specified published resource. Deprecated path - Use Criteria section instead.

Path parameters
idinteger · int32Required

ID of the published resource to be updated

accountstringRequired

Account of User to be deleted from the filter

Responses
204
No Content
delete
DELETE /api/PubItems/{id}/UserFilters/{account} HTTP/1.1
Host: 
Accept: */*

No content

Was this helpful?