UserName Property (RootNode)

Topic Last Modified: 2006-06-13

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

Applies To

RootNode Interface

Syntax

Property UserName As String
HRESULT get_UserName(BSTR* pVal);HRESULT put_UserName(BSTR Val);

Parameters

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

Example

The following example illustrates each root node's username.

      

Dim rns As RootNodes
Set rns = EXTV1.GetRootNodes
Dim rn As RootNode
For Each rn In rns
    MsgBox rn.UserName