Password Property (RootNode)

Topic Last Modified: 2006-06-13

The Password property is used to authenticate access to the root node.

Applies To

RootNode Interface

Syntax

Property Password As String
HRESULT get_Password(BSTR* pVal);HRESULT put_Password(BSTR Val);

Parameters

  • pVal
    Returns the value of the Password property as a reference to a BSTR.
  • Val
    Sets the value of the Password property to the value of the BSTR.

Remarks

This property is the password established by the administrator to a public or mailbox store on Microsoft® Exchange Server 2007 .

Example

The following example enumerates the RootNodes collection for empty passwords.

      

Dim rns As RootNodes
Set rns = EXTV1.GetRootNodes
Dim rn As RootNode
For Each rn In rns
    If Len(rn.Password) = 0 Then
        MsgBox rn.DisplayName & " has an empty password"
    End If