_setRightsUser2Driver
(API version 2.0)int _setRightsUser2Driver ( string kodf , string username , string pass , int IdUser , int Rights , string strDriversId )
Description
The function updates users rights to the driver.
Categories
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
- int IdUser
- user ID, who, we assign th rights
- int Rights
- Rights - 1 - allocate, 0 - remove
- string strDriversId
- Id of the drivers to which we assign (1) or take the user of the rights - id separated by commas, such as 2,8,10
Return value
int
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_setRightsUser2Driver($kodf, $username, $pass, $IdUser, $Rights, $strDriversId);
Test
To test the function, enter parameters in form below and press Try it out button.