UserName Property  

Gets and sets the current user name.


object.UserName [= username ]


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


See Also

Password Property, Connect Method