_getRightsUser2Cargroup
(API version 2.0)WDS_User2CargroupItem[] _getRightsUser2Cargroup ( string kodf , string username , string pass , int IdUser , int IdCargroup )
Description
The function lists users' rights to groups.
Categories
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
- int IdUser
- filter on the search user ID, -1 for all
- int IdCargroup
- Filter for ID group, -1 for everything
Return value
WDS_User2CargroupItem[]
-
WDS_User2CargroupItem
- string UserName
- int IdUser
- int CargroupId
- int OwnerGroup
- int Level
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getRightsUser2Cargroup($kodf, $username, $pass, $IdUser, $IdCargroup);
Test
To test the function, enter parameters in form below and press Try it out button.