dolibarr  13.0.2
Functions
server_user.php File Reference

File that is entry point to call Dolibarr WebServices. More...

Go to the source code of this file.

Functions

 getUser ($authentication, $id, $ref= '', $ref_ext= '')
 Get produt or service. More...
 
 getListOfGroups ($authentication)
 getListOfGroups More...
 
 createUserFromThirdparty ($authentication, $thirdpartywithuser)
 Create an external user with thirdparty and contact. More...
 
 setUserPassword ($authentication, $shortuser)
 Set password of an user. More...
 

Detailed Description

File that is entry point to call Dolibarr WebServices.

Definition in file server_user.php.

Function Documentation

createUserFromThirdparty (   $authentication,
  $thirdpartywithuser 
)

Create an external user with thirdparty and contact.

Parameters
array$authenticationArray of authentication information
array$thirdpartywithuserDatas
Returns
mixed

Definition at line 474 of file server_user.php.

References $resql, check_authentication(), and dol_syslog().

getListOfGroups (   $authentication)

getListOfGroups

Parameters
array$authenticationArray of authentication information
Returns
array Array result

Definition at line 400 of file server_user.php.

References $resql, check_authentication(), and dol_syslog().

getUser (   $authentication,
  $id,
  $ref = '',
  $ref_ext = '' 
)

Get produt or service.

Parameters
array$authenticationArray of authentication information
int$idId of object
string$refRef of object
string$ref_extRef external of object
Returns
mixed

Definition at line 309 of file server_user.php.

References check_authentication(), dol_print_date(), and dol_syslog().

setUserPassword (   $authentication,
  $shortuser 
)

Set password of an user.

Parameters
array$authenticationArray of authentication information
array$shortuserArray of login/password info
Returns
mixed

Definition at line 678 of file server_user.php.

References check_authentication(), and dol_syslog().