Documentation

method.get

method.get(name)

Method returns 2 parameters:

  • isExisting => true/false - parameter defines, if method exist specifically at this account;
  • isAvailable => true/false - parameter defines, if method is available for calling with current application access permissions (scope).

Parameters

ParameterType Description
namestring Method name to be checked.

Examples

$result = CRest::call(
    'method.get',
    [
        'name' => 'user.get',
    ]
);
print_r($result);

© «Bitrix24», 2001-2024