Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 3rd July 2012, 14:13
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,774
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Quote:
It should be mentioned that it is necessary to use the undocumented (!) SOAP call client_get_groupid($session_id, $client_id)
Thats the function to convert the client ID to groupid, if you want to convert from one ID to another then you have to use that function of course.

Quote:
Strangely, the group_id is not included in the answers to the client_get() and client_get_by_username() functions.
The grouid is part of the response of any record, it does not amtter if you query a website or a client. print out the response with print_r(), you will see that the sys_groupid is returned. The groupid of a record is the owner group of that record and the client records are owned by the administrator or reseller that created them. So the grouipd of a client record is either the groupid of the admin or the groupid of the reseller.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
teves (3rd July 2012)
Sponsored Links
 

Bookmarks

Tags
api, get all clients

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
added client through remote api can't add database paddox Developers' Forum 2 27th February 2012 12:59
ISPConfig3 + API + BoxBilling class450dude Installation/Configuration 3 22nd August 2011 22:32
A few questions on client's modules and limits dimas Installation/Configuration 10 10th January 2011 20:22
Can't Ping over VPN RoMiONeT Server Operation 2 4th July 2010 00:19
Accessing clients web without domain wicht General 3 10th August 2007 11:28


All times are GMT +2. The time now is 12:20.


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