Visual Basic: Internet Control

UserName Property

See Also   Example   Applies To

Returns or sets the name that will be sent with requests to remote computers. If this property is left blank, the control will send "anonymous" as the user name when requests are made.

Syntax

object.UserName[= name]

The UserName property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
name String that specifies the UserName to be used in the Execute method.

Data Type

String

Remarks

Invoking the OpenURL or Execute method changes the value of this property.

Changing this property will have no effect until the next OpenURL or Execute method is called.