Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

how to display username from systemcreatedby in page?

Posted on by
Hi Everyone

I would like to display username not GUID from /systemcreatedby/ in page, does anyone could offer some method ?

Thank you

//
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 64,134 Super User on at
    how to display username from systemcreatedby in page?
    Hi, try following:
     
    More details:
    User Security Id (SID) and User Id (Name)
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Shrey Chauhan Profile Picture
    Shrey Chauhan 288 on at
    how to display username from systemcreatedby in page?
    Hello,

    You can get the value by doing code on trigger onaftergetrecord as:

    Rec.Created by := Rec.SystemCreatedBy;

    Hope this will answer your question.
    May other experts help you better 

    Thank you,
    Shrey
  • Suggested answer
    Judy Profile Picture
    Judy Microsoft Employee on at
    how to display username from systemcreatedby in page?
    Hi,
     
    It is recommended that you can refer to following Blog about how to extract characters from a string:
     
    Best Regards,
    Judy

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,986 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans