UserName Property  
 

Gets and sets the current user name.

Syntax

object.UserName [= username ]

Remarks

The UserName property specifies the username used to authenticate the user on the current server. This property must be set to access resources that are restricted on the server. Note that it is required to set both the UserName and Password properties to enable client authentication.

Data Type

String

See Also

Password Property, Connect Method