3/20/2026 7:26:25 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 writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
SecCodeJoins table empty on remotes
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 |
|
|
|
Re: SecCodeJoins table empty on remotes
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? |
|
|
|
Re: SecCodeJoins table empty on remotes
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
|
|
|
|
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!
|
|
|
|
|
|
|
|