web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Get User Email with X++

(0) ShareShare
ReportReport
Posted on by 1,080

Hi,

 

Is there is a way to get a user's email? I hava the following problem:

I have to send an email to a the person that belongs in a buyer group. In our case, the buyer group has the full name of the user in the description field.

I tried getting this information from the SysUserInfo, but I don't see a name field. Then I open the form SysUserInfo and I saw a table called UserInfo under the data source of this form, and then I went looking for it, but it does not exist in the AOT.

I just need to get to a user email based on his/her name. However, if someone knows a better way, I'm all ears.

 Anyway, any help will be appreciated.

Thank you,

 Eduardo

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Eduardo,

    UserInfo table is a system table.  You can find it in the AOT under (System Documentation > Tables).  As far as getting a user email, it all depends on where you are storing it.  This is usually done in the Employee details (contact information tab) screen in the Basic module.

    Regards

  • EduardoAndres Profile Picture
    1,080 on at

    Thank you so much for your feedback. I really appreciate it as I got the functionality I wanted thanks to your post.

    Thanks again.

  • EduardoAndres Profile Picture
    1,080 on at

    There is a full explanation of this in the following blog post:

    axwonders.blogspot.com/.../get-employee-email-with-x-microsoft.html

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans