UserName Property  
 

Gets and sets the current user name.

Syntax

object.UserName [= username ]

Remarks

The UserName property specifies the user that is logging in to the server, and is required for authentication purposes. This property is used as the default value for the Login method if no password is specified as an argument.

Data Type

String

See Also

Password Property, Connect Method, Login Method