Documentation

GetPermissionList

CFormStatus::GetPermissionList(
 int status_id,
 array &can_view, 
 array &can_move, 
 array &can_edit,
 array &can_delete
)

The method GetPermissionList returns arrays containing user groups that have the specified permissions for the specified status.

Parameters

Parameter Description
status_id The status ID.
can_view Reference to an array containing the ID's of user groups that have the permission to view the result in the status status_id.
can_move Reference to an array containing the ID's of user groups that have the permission to change the results to the status status_id.
can_edit Reference to an array containing the ID's of user groups that have the permission to edit the results in the status status_id.
can_delete Reference to an array containing the ID's of user groups that have the permission to delete the results in the status status_id.

See Also

Example


© «Bitrix24», 2001-2024
Up