Resolve Full Username for Email Notification
I understand there is a %username% macro that will insert the logged on user name into the email notification.
Is there a way to qualify the FULL user name to insert into the email notification?
For example in the email notification I would like to put:
This build was built by %username% at %datetime%.
Where username would have Bill Smith, instead of the actual username that is logged in of smithb01.
I would assume we would have to do an AD lookup?
or
Is there a registry key that gives the full user name logged in?
or
Can I place a txt file on the drive that the macro will compare the smithb01 to equil Bill Smith?
Thank you!!
|