G
Greg Smith
I am using the following code to pull the domain and user
ID:
Dim oWsNetwork
Set oWsNetwork = CreateObject("WScript.Network")
' Dim strUsername
strUserName = oWsNetwork.UserName
strUserDomain = oWsNetwork.UserDomain
Set oWsNetwork = Nothing
Item.userproperties("Name").value = strUserDomain & "/" &
strUserName
Is there away to pull the fullname of the user from the
user manager??
ID:
Dim oWsNetwork
Set oWsNetwork = CreateObject("WScript.Network")
' Dim strUsername
strUserName = oWsNetwork.UserName
strUserDomain = oWsNetwork.UserDomain
Set oWsNetwork = Nothing
Item.userproperties("Name").value = strUserDomain & "/" &
strUserName
Is there away to pull the fullname of the user from the
user manager??