dolibarr 19.0.3
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.
 
 getListOfGroups ($authentication)
 getListOfGroups
 
 createUserFromThirdparty ($authentication, $thirdpartywithuser)
 Create an external user with thirdparty and contact.
 
 setUserPassword ($authentication, $shortuser)
 Set password of an user.
 

Detailed Description

File that is entry point to call Dolibarr WebServices.

Definition in file server_user.php.

Function Documentation

◆ createUserFromThirdparty()

createUserFromThirdparty ( $authentication,
$thirdpartywithuser )

Create an external user with thirdparty and contact.

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

Definition at line 490 of file server_user.php.

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

◆ getListOfGroups()

getListOfGroups ( $authentication)

getListOfGroups

Parameters
array$authenticationArray of authentication information
Returns
array Array result

Definition at line 421 of file server_user.php.

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

◆ getUser()

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 331 of file server_user.php.

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

◆ setUserPassword()

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 690 of file server_user.php.

References check_authentication(), and dol_syslog().