• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

[FIXED] I need to get user's email address

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [FIXED] I need to get user's email address

    Is there a way to get the email address associated with the user? (The email address entered on user creation)

    Thanks,
    Chris
    Last edited by barnettc2; 03-28-2013, 08:56 AM.

  • #2
    You can use the session variable to get the userid and then use the userid to get to the Valence file vvUSQ100. Something like this:

    Code:
         fvvUSQ100  if a e           k disk  
    
         d sessionDS     e ds                  extname(vvSessDs) qualified inz
    
          /free
           sessionDS=vvUtility_getSessVar(VVSESSVAR);
           // userID = sessionDS.vvUserID;
           chain (session.vvUserID) vvUSQ100;
           // email address is in vvEMAIL

    Comment


    • #3
      Thanks for your help. This will come in handy for other user information as well!

      Comment

      Working...
      X