7/1/2025 12:32:10 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
Get Team Information
Posted: 25 Nov 09 3:47 AM
|
Hi,
I want to get all the teams as well as users with in the team programatically. How can i do this.
Thanks -Pandi. |
|
|
| |
|
Re: Get Team Information
Posted: 26 Nov 09 6:50 AM
|
Dear Pandi,
Maybe this SQL-Statement is helping you... It gives you a complete overview of team's member's and type's.
SELECT sysdba.SECCODE.SECCODEID, sysdba.SECCODE.SECCODEDESC AS TEAMNAME, SECCODE_1.SECCODEDESC AS MEMBERNAME, TYPE = CASE WHEN SECCODE_1.SECCODETYPE = 'G' THEN 'Team' WHEN SECCODE_1.SECCODETYPE = 'U' THEN 'User' WHEN SECCODE_1.SECCODETYPE = 'D' THEN 'Department' WHEN SECCODE_1.SECCODETYPE = 'S' THEN 'System' ELSE SECCODE_1.SECCODETYPE END, sysdba.SECPROFILE.PROFILEDESCRIPTION FROM sysdba.SECCODE SECCODE_1 RIGHT OUTER JOIN sysdba.SECCODEJOINS ON SECCODE_1.SECCODEID = sysdba.SECCODEJOINS.CHILDSECCODEID RIGHT OUTER JOIN sysdba.SECCODE ON sysdba.SECCODEJOINS.PARENTSECCODEID = sysdba.SECCODE.SECCODEID LEFT OUTER JOIN sysdba.SECPROFILE ON sysdba.SECCODEJOINS.PROFILEID = sysdba.SECPROFILE.PROFILEID WHERE (sysdba.SECCODE.SECCODETYPE = 'G') ORDER BY TEAMNAME, TYPE, MEMBERNAME
Regards, Lukas |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|