Documentation

landing.role.getList

Important! This feature is available for administrator only.

The method allows to get list of roles. Returns array of IDs and names for all roles.

Parameters

Method without parameters.

Example

BX24.callMethod(
   'landing.role.getList',
   {
   },
   function(result)
   {
      if(result.error())
      {
         console.error(result.error());
      }
      else
      {
         console.info(result.data());
      }
   }
);


© «Bitrix24», 2001-2024