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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How do get CRM username from GUID (SQL)

(0) ShareShare
ReportReport
Posted on by 12,163

I know I've done thisbefore but I forgot the statement. If I have the guid of a CRM user how to look it up in the database in order to get the 'friendly' name of the user?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    jlattimer Profile Picture
    24,562 on at

    Something like:

    SELECT fullname 
    FROM   systemuser 
    WHERE  systemuserid = 'guid here' 

  • Verified answer
    Satish Tiwari - CRM Profile Picture
    on at

    You can also look in SystemUserBase table by executing below query against Org_MSCRM

    select FullName, * from SystemUserBase where SystemUserId = 'Guid'

  • Verified answer
    Guido Preite Profile Picture
    54,086 Moderator on at

    If it is possible it's better to use the filtered views

    SELECT fullname FROM FilteredSystemUser WHERE systemuserid = 'GUID VALUE'

  • Joe Woltering Profile Picture
    12,163 on at

    Thanks all! It's a very useful query. Comes in handy more often than u think.

  • Community Member Profile Picture
    on at

    SQL need the CRM user name to enter in this it was the new technique that we use in this it has all the friction on it. I need to get guide of this that was available on writing paper services this was the company who develop this software and they have its manual on it.

  • Faiz Ul Hassan Profile Picture
    5 on at

    I was getting some errors with the Dynamic Connector trying to sync CRM accounts to NAV customer cards.The first error I had was Country has to be a country code otherwise it errors. Please Suggest on 9anime

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans