Using User doctype for Link field

@rmehta @gsarunk @DaizyModi @trentmu @MartinHBramwell Hi there, I want to link the ‘User’ doctype to a link field and While entering the value, it will capture the email id of the user and not the user name Why?. Is it because of duplication? .Can I capture the user name instead of email ID there?

Because the link field grabs the document ID, not other fields within the document.
I recall you can’t customize the User doctype from the UI to display Usernames instead of emails in link fields.

ok got it,thanks!