UserName
Gets the Active Directory user name used to establish the connection to the Active Directory domain.
Syntax
string UserName {get;}
Property value
The Active Directory user name used to connect to the domain.
Example
The following code sample illustrates using this property in a script:
...
'Connect to the domain controller Active Directory
cims.Connect("paris.ajax.org",”pierre”,”lesbleUs”)
‘Display the user name
wScript.Echo “Current User Credentials:” cims.UserName
...