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 :
Dynamics 365 Community / Blogs / The Dynamics 365 Library / D365O - How to get current ...

D365O - How to get current worker through X++

Faisal Fareed Profile Picture Faisal Fareed 10,796 User Group Leader
The current user or worker could be retrieved through following code since AX 2012

DirPersonUser::currentWorker()

However, In Dynamics 365 for operation this has refactored to;

HcmWorkerLookup::currentWorker()


This was originally posted here.

Comments

*This post is locked for comments