UserName Property  
 

Gets and sets the current user name.

Syntax

object.UserName [= username ]

Remarks

The UserName property identifies the user that is connecting to the server and is required for authentication purposes. This property is used as the default value for the Connect method if no username is specified as an argument.

Data Type

String

See Also

Password Property, Connect Method