Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, August 23, 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: Security settings for USER PROFILE.
satz
Posts: 75
 
Security settings for USER PROFILE.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Apr 08 9:16 AM
hi SLX users..,

i am populating the datas to my list controls programatically. the list controls are not bounded with the Database directly( not data bounded controls)...

When i set the security settings for USer group Profiles, the security settings not working..i guess because ,the controls are not data bounded..instead i populate through my program.

i want to set the security settings for users....plz help me to overcome or succeed this TASK.


thanks in Advance....
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Security settings for USER PROFILE.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Apr 08 9:54 AM
You'll have to be more specific about what you are needing to do. What do you mean by "set the security settings for users"? What specifically are you wanting to have happen?
[Reply][Quote]
satz
Posts: 75
 
Re: Security settings for USER PROFILE.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Apr 08 10:05 AM
i am trying to apply READ/WRITE kind of restrictions (Security settings) to my form for saleslogix users of different groups. Usually i implement this kind of security through the Saleslogix administrator.

The restricions that i have set for my form through Saleslogix administrator is not working..

i.e when i login , the controls are not read only but in editable state...

how do i set the READ / Write restrictions to my form controls based on the logged in USER ? is the
bottom line of my question....

thanks....
[Reply][Quote]
Martin Rudnick
Posts: 52
 
Re: Security settings for USER PROFILE.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Apr 08 9:52 AM
In the form change/open event, you can add an if statement dependent on a user field (could be text field, department, title...) or other value for that matter and if that holds true, you can set the read only status of the control either by control name or type or even panel.
Something like

If UCASE(AccountType & "") = "CLIENT" AND UCASE(Trim(application.BasicFunctions.CurrentUserID)) <> UCASE("Admin") Then
For i = 0 to AccountForm.ControlCount -1
Set objCtrl = AccountForm.Controls(i)

If UCASE(objCtrl.Name) = UCASE("ControlName") Then
objCtrl.ReadOnly = True
Else if TypeName(objCtrl) = "Panel"
objCtrl.ReadOnly = True
else
objCtrl.ReadOnly = False
end if

Next
end if
[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/23/2025 10:24:40 AM