Skip to content
  • Contacts
  • Articles
  • Categories

AX / Dynamics 365 For Finance and Operations blog

Category: Current User

D365FFO – AX – X++ – Get the Worker from the current user

Posted on 2 April 20219 April 2021 by Marco Saad

HcmWorkerRecId   hcmWorkerRecId =  HcmWorkerLookup::currentWorker(); HcmWorker::userId2Worker(curUserId());HcmWorker::worker2Name(HcmWorker::userId2Worker(curUserId()));

Leave a comment

D365FFO / AX – Get Current User Name – X++

Posted on 13 November 20209 April 2021 by Marco Saad

This function will return the name associated with the current user. If you just want the current user ID, use curUserId() XUserInfo::find(false, curUserId()).name;

Leave a comment

Cerca

Recent Posts

  • SQL SERVER – Create a SQL Server Linked Server to Azure SQL Database
  • SQL SERVER – Convert a given date from UTC to your time zone and daylight savings time
  • AX / D365FO – Get Form COntrol label text
  • AX / D365FO – Set up Data Entities Export recurring jobs
  • SQL SERVER – Copy more than 65535 characters from result grid Column

Categories

Enter your e-mail address to subscribe to this blog, and receive notifications of new posts by e-mail.

Join 1,627 other subscribers
Follow AX / Dynamics 365 For Finance and Operations blog on WordPress.com
Blog at WordPress.com.
  • Follow Following
    • AX / Dynamics 365 For Finance and Operations blog
    • Join 79 other followers
    • Already have a WordPress.com account? Log in now.
    • AX / Dynamics 365 For Finance and Operations blog
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar