Password

Gets the logged-in user’s password for connecting to the domain.

Syntax

string Password {get;}

Property value

The password 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 password used to log on
wScript.Echo “Current Password:” & cims.Password
...