This topic is locked

Display AD displayName in place of userName

3/10/2022 2:44:39 PM
General Tips and Tricks
pmontavon author

In versions 10.6., 10.7 and maybe (10.5), after login, the system displays the login/username and not the name of the person logged in as it did before.
For example, I log in with username BS8345. In the top right I want to see the name "Smith Brian" but in these newer versions it shows BS8345.
I couldn't find any way in the app to change this information. The manual solution to work around this problem is as follows:
After compiling, edit the ad.php file and modify as below.

File : classes/security/ad.php

line 266 : // "username" => $loginUsername
line 267 : "username" => $displayName

(Attention, after each compilation, the file will be overwritten and the operation will have to be repeated.)

@Serguey : possible to correct this problem in a future version ?
Thanks in advance and kid regards

Sergey Kornilov admin 3/10/2022

This might bea bug, please contact support directly, we will send you a fix to verify and then will include it into PHPRunner itself.