User Name Property

ADO and SQL Server

ADO and SQL Server

User Name Property

The User Name property returns the name used in a particular database, which can be different than a login name.

Applies To
Connection Object
Syntax

object.Properties("User Name")

Parts

object

Expression that evaluates to an object in the Applies To list.

Data Type

adBSTR

Modifiable

Read-only

OLE DB Property

DBPROP_USERNAME