Quantcast
Channel: Software Communities : Popular Discussions - Dell One Identity Manager
Viewing all articles
Browse latest Browse all 845

Converting UID to Username in SQL

$
0
0

Hi everyone,

 

I'm executing the below select statement from the ADSAccount table and cannot figure out how to convert the UID_ADSAccount from a GUID to the managers actual user name.

 

select

givenname as 'First Name',

surname as 'Last Name',

initials as 'Middle Initial',

Title,

DisplayName,

samaccountname as 'UserID',

EmployeeID,

mail as 'Email',

uid_adsaccountmanager

from adsaccount

 

Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 845

Trending Articles