Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, August 25, 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: Easier way to set function security for multiple users in Admin...
RJ Palombo
Posts: 43
 
Easier way to set function security for multiple users in Admin...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Sep 08 2:22 PM
Posted: 08 Sep 08 9:36 AM

Hi all I posted this in the administrator section, but I don't seem to get anywhere in there so I am posting this in here with some changes. I appologize for the double post.

I would have to assume being that there are many security tables in the SLX DB (SECFUNCTIONS, SECRIGHTS, Etc...) that it would be easier to change a function security for a given set of users by creating a simple script that would change values based in the right security tables.

For example, I want to create a simple SQL script that would remove the ability to see certain menu items (lookup accountmanager, etc..) for all our users without actually going into every single user in Admin and setting each option manually.

Any any clue on how to acheive this?

Thanks in advance, -RJ
[Reply][Quote]
RJ Palombo
Posts: 43
 
Re: Easier way to set function security for multiple users in Admin...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Sep 08 2:53 PM
Ok, I see the usersecfunctions contains the data i need. If I enter a record with the function name I'm lookung for like: 'LookupAccountIndustry' I'm assuming this will take out that lookup for the user I specify. Here's one problem How do I write a script that can find all the users in the userinfo table (minus a few) and run a a statement and still have this sync out to all remotes?
[Reply][Quote]
RJ Palombo
Posts: 43
 
Re: Easier way to set function security for multiple users in Admin...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Sep 08 3:43 PM
This script works on one record at a time. I'd like to be able to loop through the userinfo table and grab ID's to insert into this SQL withought having to do this in VBs.

insert into usersecfunctions (userid,functionname,modifydate,modifyuser,createdate,createuser)
values ('USERS_ID','LookupAccountIndustry',GetDate(),'ADMIN',GetDate(),'ADMIN')
[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/25/2025 7:28:34 AM