Microsoft Operations Manager

Password Property

The Passwordproperty gets the password to be used by the object for authentication.

[VBScript] ActiveDirectory.Password

Access

Read-only

Return Value

String

Examples

The following example shows how to specify a user to bind to a rootDSEobject of a domain.

[VBScript] 
Dim objActiveDirectory, objRootDSE
Dim lngBindTime

Set objActiveDirectory =
CreateObject("McActiveDir.ActiveDirectory")

objActiveDirectory.UserName = "someone"
objActiveDirectory.Password = "adiscool"
Set objRootDSE = objActiveDirectory.BindObject("LDAP://rootDSE")
lngBindTime = objActiveDirectory.BindLast

Set objRootDSE = Nothing
Set objActiveDirectory = Nothing

Requirements

Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1

See Also

ActiveDirectory Object


Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.