_getUsers2
(API version 2.0)WDS_User2Item[] _getUsers2 ( string kodf , string username , string pass , int IdUser )
Description
ATTENTION:
The WDS_User2Item data class can be extended without further notice by other new user rights items
Categories
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
- int IdUser
- Searching ID of user, -1 for everything
Return value
-
WDS_User2Item
-
int
IdUser
ID user
-
string
Username
Unique username
-
string
Pwd
password
-
int
ChangePwd
The user must change the password when logging in for the first time
-
int
UserRights
rights:
0 - admin
1 - user
2 - demo -
string
ValidFrom
Valid from
-
string
ValidTo
Valid to - unlisted means still valid
-
string
Cargroups
Group rights
-
string
CarsRead
Vehicle rights - reading
-
string
CarsWrite
Vehicle rights - writing
-
string
Email
email address
-
string
Mobil
mobil
-
string
PersCode
Personal code
-
string
Layer
Layer
-
int
SendSMS
The right to send SMS
-
int
MaxSMS
Maximum SMS per calendar month
-
int
PageLimit
Number of records per page
-
int
CarRental
Administrator car rentals
-
string
Note
Note
-
int
ShowLogBook
Show log book 0 / 1
-
int
ShowOdom
Show odometr 0 / 1
-
int
ShowMap
show map 0 / 1
-
int
BFullEdit
Complete editing of the log book
-
int
BDriver
Log book - driver editing
-
int
BPurpose
LB - Purpose editing
-
int
BPurposeSelect
LB - Editing purpose only by selecting from combobox
-
int
BPrivate
LB - Edit driving type (private / business)
-
int
BPrivate10
LB - From private to business
-
int
BPrivate01
LB - From business to private
-
int
BOdom
LB - Edit the actual odometr status
-
int
BNote
LB - Editing a note
-
int
BInfoF
LB - Editing company information
-
int
BInsert
LB - Ed new routes permission, Allow insert new route
-
int
BInsert0
LB - to allow service journeys
-
int
BInsert1
LB - to allow the private ride to be stored
-
int
BConnect
LB - allow combining rides
-
int
BDelete
LB - Allow deleting rides
-
int
EditDriver
Edit driver
-
int
EditCarView
Edit Car view
-
int
EditBookView
LB - Editing the appearance of a driving book for vehicles with registration rights
-
int
EditCosts
LB - Edit costs and fuel cards
-
int
EditCostsOwn
LB - Edit costs only by hand
-
int
ShowPrivateR
show private rides
-
int
BDivide
LB -to allow the distribution of journeys
-
string
D
Division
-
string
S
Center
-
int
Spedition
right spedition
-
int
delSMS
allow delete SMS 0/1
-
int
WrAbsence
Allow write absence 0/1
-
int
WrAttend
Allow write attendance 0/1
-
int
CarRentalCustomer
Is car rental customer 0/1. Optional - default 0
-
int
CarRentalApprover
Is car rental approver 0/1. Optional - default 0
-
int
CarRentalKeys
Is car rental key issuer 0/1. Optional - default 0
-
int
EditUserLocations
Can edit user locations 0/1. Optional
-
int
EditUserLocationsOwn
Can edit own user locations 0/1. Optional
-
int
IdUser
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getUsers2($kodf, $username, $pass, $IdUser);
Test
To test the function, enter parameters in form below and press Try it out button.