6/21/2026 2:34:34 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.
|
|
|
|
User "Title"
Posted: 18 Jan 08 9:33 AM
|
How do i get the value for a users Title in SLX?
I want to run an IF on the User Title and if it doesnt meet the Title they should have i want it to disable certain options. |
|
|
|
Re: User "Title"
Posted: 18 Jan 08 4:18 PM
|
Title is stored in the userinfo table.
If you include the script 'System:SLX Database Support' in whatever you are using you can retrieve the title with the following line:
strTitle = GetField("Title","UserInfo","userid = '" & Application.BasicFunctions.CurrentUserID & "'") & "" |
|
|
|
Re: User "Title"
Posted: 18 Jan 08 4:35 PM
|
What Matt said is right. You can also get it from the User in the Users collection as well.
title = Application.Users(Application.BasicFunctions.CurrentUserID).Title
-Ryan |
|
|
|
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!
|
|
|
|
|
|
|
|