The UserName property stores the user name for accessing the database.
Applies to objects: Workspace.
[[Let] RetVal = ] object.UserName [Let] object.UserName = SetVal |
The UserName property syntax has these parts:
Part | Description |
object | Required. A reference to an instance of the object. |
RetVal | Optional. A String type variable. |
SetVal | Required. A String type variable. |
The UserName and Password properties will be used for all database connections within the scope of the given Workspace object, unless the initialization string of the connection is not specified in the OpenConnection and OpenDatabase methods, or the UID and PWD indetifiers are missing in it.
....... |
See Also |
Workspace Object, Password Property, OpenConnection Method, OpenDatabase Method. |