Microsoft_MVP_banner

D365O – How to get current worker through X++

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()

Share:

Send Us A Message

Leave a Reply

Your email address will not be published. Required fields are marked *

FaisalFareed@2025. All rights reserved

Design by T3chDesigns