Documentation

disk.rights.getTasks

Method allows getting list of access permission levels to be used in assigning access permissions.

Returns available access permissions levels.

Fields Description Available from version
ID Access level ID
NAME Symbolic code
TITLE name

Examples

Call:

BX24.callMethod(
        "disk.rights.getTasks",
        {},
        function (result) {
			if (result.error())
				console.error(result.error());
			else
				console.dir(result.data());
		}
)

Response example:

{
	"result": [
		{
			"ID": "42",
			"NAME": "disk_access_full",
			"TITLE": "Full access"
		},
		{
			"ID": "40",
			"NAME": "disk_access_edit",
			"TITLE": "Edit"
		},
		{
			"ID": "38",
			"NAME": "disk_access_read",
			"TITLE": "Read"
		}
	]
}
© «Bitrix24», 2001-2022
Up