_getRightsUser2Car
(API version 2.0)WDS_User2CarItem[] _getRightsUser2Car ( string kodf , string username , string pass , string UName , int IdCar )
Description
Function lists users' rights to vehicles
Categories
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
- string UName
- Filter in the name of the user you are searching for. Unfilled show all users
- int IdCar
- Filter on vehicle id, -1 for everything
Return value
WDS_User2CarItem[]
-
WDS_User2CarItem
- string UserName
- int UserRights
- int IdCar
- int Rights
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getRightsUser2Car($kodf, $username, $pass, $UName, $IdCar);
Test
To test the function, enter parameters in form below and press Try it out button.