View Single Post
  #2  
Old 12th February 2013, 08:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,597
Thanks: 792
Thanked 4,984 Times in 3,904 Posts
Default

The function "client_get_by _username" is deprecated and will be removed, so dont use it for new projects. Use the client_get function instead. If you want to get a client by username, the correct syntax is:

$client_record = $client->client_get($session_id, array('username' => 'myuser'));

Quote:
There is a lot of ID's. What is difference between "userid", "client_id", "sys_userid" and "sys_groupid"?
The only relevant ID when using the API is the client_id. The other id's are internal ID's from ispconfig to manage the permissions of the records.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote