Value of User’s Title in SalesLogix

Question: I’m trying to run an IF statement on the User Title, and if the Title
isn’t met the user will have certain options disabled.  How can I find
the value of a user’s Title in SalesLogix?

Answer: You will find the Title stored in the userinfo table. By including 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 & “‘”) & “”

You can also retrieve it from the User in the Users collection:

title = Application.Users(Application.BasicFunctions.CurrentUserID).Title

 

 

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) news and product updates!

You have Successfully Subscribed!