Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, August 29, 2025 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: How to retrieve users and groups that have rights on a plugin?
Michael Seeger
Posts: 14
 
How to retrieve users and groups that have rights on a plugin?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Sep 09 4:06 AM
Hi there,

I'm searching quite a while for informations on how to retrieve users and groups to whom a certain plugin was released. My goal is to create a functionality to gather plugin informations about form in order to display them especially for support purposes. So those "release informations" are very important for me to get

Btw.: I'm currently on SLX6.2.6/SQL2000 but in the next few weeks we will migrate to SLX7.5.1/SQL2008
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: How to retrieve users and groups that have rights on a plugin?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Sep 09 8:55 AM
PLUGIN TABLE, UserID field.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: How to retrieve users and groups that have rights on a plugin?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Sep 09 10:02 AM
There are a few additional things to keep in mind, for certain types of plugins, you would find many copies that are old development copies, and one copy that is the Source of the Releases.
From that copy you can get the released items, and from the UserID you could get the Users that have access to.
[Reply][Quote]
Michael Seeger
Posts: 14
 
Re: How to retrieve users and groups that have rights on a plugin?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Sep 09 12:40 PM
Thanks for your answers. I already investigated the plugin table ... ... but will have a closer look at it, again
[Reply][Quote]
John H. Hedges
Posts: 62
 
Re: How to retrieve users and groups that have rights on a plugin?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Sep 09 2:44 PM
Michael, do you know about Electrician? (http://www.jh3.com/software/electrician.htm)
[Reply][Quote]
Michael Seeger
Posts: 14
 
Re: How to retrieve users and groups that have rights on a plugin?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Sep 09 5:45 AM
Hi,

I finally found all informations I need in the PLUGIN-table ... My problem was: I didn't look that deep

Thanks for all your hints!

@John: Yes, I know Electrician
[Reply][Quote]
Michael Seeger
Posts: 14
 
Re: How to retrieve users and groups that have rights on a plugin?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Sep 09 8:02 AM
And here is my initial stage for a solution:

SELECT
p.name, p.companyversion, p.userid,
s.seccodedesc, s.seccodetype
FROM
sysdba.plugin AS p
JOIN sysdba.seccode AS s ON (p.userid = s.seccodeid)
WHERE
name = 'TestScript' AND family = 'System'

Problem solved
[Reply][Quote]
Michael Seeger
Posts: 14
 
Re: How to retrieve users and groups that have rights on a plugin?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Sep 09 8:03 AM
... if you perform a "LEFT JOIN" you will also get the ADMIN-entries for the plugin ...
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: How to retrieve users and groups that have rights on a plugin?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Sep 09 1:23 PM
But this relies on Family and Name to be unique descriptors, which they aren't.

For instance, you should always define a Type, as it is very likely to have a Mail Merge Template that matches the Name of a group, which would throw away your result.
Also, what about multiple "sourced" items. For example, 2 users create groups called "My Group" and then release it, how do you know which path you are dealing with?

So, you should always filter a single Type and then use the Based on to group items. The "original" items would have a NULL for the BASEDON as they are not linked to other plugins.

And then, if you are dealing with ADHOC groups you also have to take into account the DATACODE column (which should typically match the BASEDON value) as this is the value that is used to link the Group Items from the ADHOCGROUP table.







[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 8/29/2025 2:11:00 PM