_getRightsUser2Driver

(API version 2.0)

WDS_User2DriverItem[] _getRightsUser2Driver ( string kodf , string username , string pass , string UName , int IdDriver )

Description

The function lists users' rights for the drivers.

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. Unsigned will show all users
int IdDriver
Driver filter driver, -1 for everything

Return value

WDS_User2DriverItem[]
  • WDS_User2DriverItem
    • string UserName

      User name

    • int IdUser

      ID User

    • int UserRights

      User Rights

    • int IdDriver

      ID driver

    • int Rights

      Rights

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_getRightsUser2Driver($kodf, $username, $pass, $UName, $IdDriver);

Test

To test the function, enter parameters in form below and press Try it out button.

Company code
Login username
Login password
Filter in the name of the user you are searching for. Unsigned will show all users
Driver filter driver, -1 for everything

* Required field