Api\ServiceType\ApiService::Permissions_GetGroups PHP Method

Permissions_GetGroups() public method

Method to call the operation originally named Permissions.GetGroups Meta informations extracted from the WSDL - documentation: Retrieves all available groups for the company.
public Permissions_GetGroups ( string $field, string $search ) : Api\StructType\ApiPermission_group[] | boolean
$field string
$search string
return Api\StructType\ApiPermission_group[] | boolean
    public function Permissions_GetGroups($field, $search)
    {
        try {
            $this->setResult(self::getSoapClient()->__call('Permissions.GetGroups', array($field, $search)));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
ApiService