![]() |
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!! |
|
Not sure I follow what to do with that Get Object. Could I please get an example?
Is this the only way, by querying the AD directory? thx. -b |
That's a script expression you could use anywhere you would use a macro reference (i.e., %USERNAME%).
http://www.visualbuild.com/Manual/scriptexpressions.htm There may be other ways to achieve this. It's just one way I found on a Google search. |
All times are GMT -5. The time now is 10:13 AM. |
Copyright © 1999-2023 Kinook Software, Inc.