Hi.
I have a simple script that displays the current user's logon name, like jdoe for John Doe:
Set objNetwork = WScript.CreateObject("WScript.Network")
MsgBox objNetwork.UserName
How do I display the current user's first and last name instead of their logon name?
Running XP Pro in a Windows 2003 Active Directory domain. Thanks.
I have a simple script that displays the current user's logon name, like jdoe for John Doe:
Set objNetwork = WScript.CreateObject("WScript.Network")
MsgBox objNetwork.UserName
How do I display the current user's first and last name instead of their logon name?
Running XP Pro in a Windows 2003 Active Directory domain. Thanks.