Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, May 6, 2024 
 
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: User's email address
Lou
Posts: 81
 
User's email addressYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Mar 06 11:46 AM

prednisolon kur

prednisolon
fiogf49gjkf0d
What is the best way to programmatically obtain a user's email address?
[Reply][Quote]
Ted Sturr
Posts: 78
 
Re: User's email addressYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Mar 06 11:54 AM
fiogf49gjkf0d
Function GetUserEmail()
Dim sUserID
sUserID = Application.BasicFunctions.CurrentUserID
GetUserEmail = Application.Users.Item(sUserID).Email
End Function

You can change the function to pass in the userid for specific user if you wanted, but this should give you the idea.

Ted
By the way this only works with versions 6.2 and above.
[Reply][Quote]
Lou
Posts: 81
 
Re: User's email addressYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Mar 06 12:25 PM
fiogf49gjkf0d
Thanks a lot, Ted. We use v6.2, and you gave me a push in the right direction. I really appreciate your help!
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: User's email addressYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Mar 06 3:10 PM
fiogf49gjkf0d
If you need a version for 6.1 or below the email is stored in a table that can be read by a simple SQL statement. "Select email from userinfo where userid = '$USERID$'" The application.basicfunction calls basically do this for you.
[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 © 2024 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): 5/6/2024 9:16:56 AM