Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Ktomberlin
in reply to: luismestre

Well this doesn't edit the xml directly, but it does change the user name in options.   This might accomplish what your trying to do. 

 

Code Snippet

WSHnet = CreateObject("WScript.Network")
UserName = WSHnet.UserName
UserDomain = WSHnet.UserDomain
objUser = GetObject("WinNT://" & UserDomain & "/" & UserName & ",user")
'get user name
UserFullName = objUser.FullName
ThisApplication.GeneralOptions.UserName = UserFullName