data.setAcl

This method offers alternative signatures:

data.setAcl(acl, id, [success], [error])

Signature

data.setAcl(acl, id, [success], [error])

Description

Sets the Access Control List (ACL) of an item with a specified ID.

Parameters

Parameter Name Type Description
acl object The acl object.
id string The ID of the item.
[success] function A success callback.
[error] function An error callback.


data.setAcl(acl, item)

Signature

data.setAcl(acl, item)

Description

Sets the Access Control List (ACL) of a specified data item.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
acl object The acl object.
item object The item whose ACL will be updated. Note: the ID property of the item will be used to determine which item will be updated.


data.setAcl

This method offers alternative signatures:

data.setAcl(acl, item, operationParameters, [success], [error])

Signature

data.setAcl(acl, item, operationParameters, [success], [error])

Description

Sets the Access Control List (ACL) of a specified data item.

Parameters

Parameter Name Type Description
acl object The acl object.
item object The item whose ACL will be updated. Note: the ID property of the item will be used to determine which item will be updated.
operationParameters object An object that accepts operation parameters.
[success] function A success callback.
[error] function An error callback.


data.setAcl(acl, id)

Signature

data.setAcl(acl, id)

Description

Sets the Access Control List (ACL) of a specified data item.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
acl object The acl object.
id string The ID of the item.


Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.