DboLogin Property

SQL-DMO

SQL-DMO

DboLogin Property

The DboLogin property identifies database ownership privilege for the current session.

Applies To
Database Object
Syntax

object.DboLogin

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetDboLogin(LPBOOL pRetVal);

Remarks

If TRUE, the user mapping the login used for client application connection authentication has database ownership privilege.

If FALSE, the user mapping the login does not have database ownership privilege.