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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Get AX user id from email in x++

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have user email. How can I get user id from user email?

Actually I am creating Sales Order using AIF web service and want to update the created by field dynamically.

Any help would be really appreciated.

Thanks

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at

    The easiest way is making sure that users have emails filled in SysUserInfo table. Then you select the ID for the given email address.

    This answers how to "Get AX user id from email in x++", nevertheless this question and answer don't seem to be related your actual business requirement. You need to run the service as the right user. How to do it depends on how you call it, which you didn't tell us. (And I must admit that I don't remember AX 2009 very well; it's been quite a few years since I worked with it.)

  • Community Member Profile Picture
    on at

    Hi Martin,

    I've checked and emails are filled for users in SysUserInfo table and I am able to get User Id based on Email.

    Thanks for your help.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans