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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

User Object

(0) ShareShare
ReportReport
Posted on by 45

Is it possible to get the email address of the currently logged-in user? How does one do this?

  • Verified answer
    Suresh Kulla Profile Picture
    50,280 Super User 2026 Season 1 on at

    You can use the User Setup to retrieve the current user and get the email address from that table. if UserSetup.Get(UserId) then begin....

  • chillzilla Profile Picture
    45 on at

    Thank you, Suresh! This is very helpful!

    Is there anywhere the UserSetup object is documented? I'm not finding it in the MS AL documentation...or am I missing something?

  • chillzilla Profile Picture
    45 on at

    I'm still unable to find any documentation around this. Am I missing something?

    I'm able to get a User's security id, and the user id, of course, but how am I supposed to access other details about a logged-in user?

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,306 Super User 2026 Season 1 on at

    User Setup is a table. If you search BC for User Setup, you will be able to see it. You need to configure the email address there.

  • chillzilla Profile Picture
    45 on at

    Thank you Teddy Herryanto! Your comment helped point me in the right direction!

  • chillzilla Profile Picture
    45 on at

    I do have one follow up question.

    What relationship is there between the UserSetup table and the Users table? In my sandbox, I have my user in the user's table, but nothing in UserSetup (until I add to it).

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,306 Super User 2026 Season 1 on at

    The User Setup table is mainly for the approval / workflow and posting date permission. However, you need to add the record in the User Setup manually. BC will not automatically add it for you.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 677 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 430 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 280 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans