OHDSI Home | Forums | Wiki | Github

AD integration: display name


(Ajit Londhe) #1

Hi all,

When using AD authentication, is it normal for the login name at the top right to show my “displayName” but then overwrite it with my “sAMAccountName” value in the sec_user table and show that for the concept set / cohort definition author?



(Konstantin Yaroshovets) #2

Hi @Ajit_Londhe

Yes, “sAMAccountName” is used for sec_user table records. If you would like to adjust displayed name, you can configure securtity.ad.userMapping.displayNameAttr option for wished value from AD.

(Ajit Londhe) #3

Hmm, I do have that already in my settings xml file. And it does use it, as in the screenshot in the logged in name in the top right of the screen. But the Atlas assets like concept sets and cohort definitions do not use this value.

When debugging, I observe that I log in, the sec_user table has “Londhe, Ajit” for the name value. When I go to create a concept set, it is overwritten to “alondhe.” I think in the workflow of asset creation, there isn’t a step to try to resolve the display name.

(Ajit Londhe) #4

Anyone interested in this issue, follow along here: