Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, July 6, 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: SecCodeJoins table empty on remotes
Chris Burriss
Posts: 120
 
SecCodeJoins table empty on remotesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Sep 10 10:37 AM
We have a customization that uses the SecCodeJoins table but it appears this table is blank on the remotes. How then are remotes able to determine security based on the team hierarchies? Is this handled server-side during the sync process and it simply removes any accounts a user doesn't have access to? Thanks!

C. Burriss
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: SecCodeJoins table empty on remotesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Sep 10 11:20 AM
That would be correct....Sync Process doesn't send out non Team\department accounts....and sends out Accounts when the Owner is changed and it matches a Subscription rule and Team Security

what version of SLX?
[Reply][Quote]
Chris Burriss
Posts: 120
 
Re: SecCodeJoins table empty on remotesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Sep 10 11:41 AM
I needed to use SecRights instead of SecCodeJoins and UserSecurity.

I found this queries that RJ Ledger posted before. Thanks, RJ!

--List all users and their Departments or Teams
SELECT u.UserName, s.SecCodeDesc as Dept, sp.ProfileDescription
FROM sysdba.UserInfo u
INNER JOIN sysdba.SecRights sr ON sr.AccessID = u.UserID
INNER JOIN sysdba.SecProfile sp ON sp.ProfileID = sr.ProfileID
INNER JOIN sysdba.SecCode S ON s.SecCodeID = sr.SecCodeID
WHERE s.SecCodeType = 'D'
ORDER BY u.UserName, Dept

--Create a List of Users and their Teams
SELECT c.SecCodeDesc, UserName, UserID
FROM sysdba.SecCode c
INNER JOIN sysdba.SecRights r ON c.SecCodeID = r.SecCodeID
INNER JOIN sysdba.UserInfo u ON r.AccessID = u.UserID
WHERE C.SecCodeType = 'G'
ORDER BY c.SecCodeDesc, UserName
[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): 7/6/2025 7:06:49 AM