Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th February 2013, 22:51
mrtnzlml mrtnzlml is offline
Junior Member
 
Join Date: Feb 2013
Location: Czech Republic
Posts: 12
Thanks: 1
Thanked 3 Times in 3 Posts
Default Passwort vs. password and a lot of id's

Hi. I am trying to implement ISPConfig into website using Remote API. But I am really confused. There is a lot of ID's. What is difference between "userid", "client_id", "sys_userid" and "sys_groupid"?

There is one more question. Function "client_get" returns array with the key "passwort", but function "client_get_by _username" returns array with the key "password". What is the difference between "passwort" and "password". It's the same thing?

Last edited by mrtnzlml; 12th February 2013 at 15:33.
Reply With Quote
Sponsored Links
  #2  
Old 12th February 2013, 08:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,260 Times in 4,124 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
  #3  
Old 12th February 2013, 15:33
mrtnzlml mrtnzlml is offline
Junior Member
 
Join Date: Feb 2013
Location: Czech Republic
Posts: 12
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Thank you for answer. Where can I find another informations? I have ISPConfig manual. There is a lot of informations, but there is few informations about Remote API. I am trying to find description of functions and their return values...

Thanks
Reply With Quote
  #4  
Old 12th February 2013, 15:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,260 Times in 4,124 Posts
Default

The remote api documentation is part of the ispconfig tar.gz. You find it in the remoting_client directory.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3 - MultiServer Setup - With Dedicated Control Panel - How? SuperJC Installation/Configuration 4 16th October 2012 20:03
strange fail2ban behaviour > doesn't ban specific IP Djamu Server Operation 2 13th January 2012 02:29
Virtual Users And Domains With Postfix, And Roundcube? huey23 HOWTO-Related Questions 2 13th December 2011 01:58
MySQL Error Nolan Installation/Configuration 12 16th February 2011 02:15
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 06:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.