DboLogin Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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

Syntax

object
.DboLogin

Parts

  • object
    An 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 permissions.

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

Applies To:

Database Object