Api\ServiceType\ApiService::Permissions_HasPrivilege PHP Method

Permissions_HasPrivilege() public method

Method to call the operation originally named Permissions.HasPrivilege Meta informations extracted from the WSDL - documentation: Determines if the current user has the given privilegeToken
public Permissions_HasPrivilege ( string $privilegeToken ) : string | boolean
$privilegeToken string
return string | boolean
    public function Permissions_HasPrivilege($privilegeToken)
    {
        try {
            $this->setResult(self::getSoapClient()->__call('Permissions.HasPrivilege', array($privilegeToken)));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
ApiService