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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Get USERINFOtable from...
Finance forum

Get USERINFOtable from HCMWORKER Recid

(0) ShareShare
ReportReport
Posted on by 141

Hi There,

I need to find the user linked with employee.

I have hcmworker recid and I need to get the useinfo table from this.

Can you please guide me how can do it.

Thanks

I have the same question (0)
  • Suggested answer
    Satish Panwar Profile Picture
    14,673 Moderator on at

    Hi Maahi,

    Link HCMWorker to DirPersonUser field. DirPersonUser store the user id that you can use to find data from userinfo table.

    Thanks,

    Satish Panwar

  • Verified answer
    André Arnaud de Calavon Profile Picture
    306,430 Super User 2026 Season 1 on at

    Hi Maahi,

    There is a static method on the HCMWorker table. You can use e.g:

    userId = HCMWorker::findPersonUser(workerRecId);
  • Maahi P Profile Picture
    141 on at

    Thanks All,

    It worked.

    Thanks

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans