The DboLogin property identifies database ownership privilege for the current session.
object.DboLogin
object
Expression that evaluates to an object in the Applies To list
Boolean
Read-only
HRESULT GetDboLogin(LPBOOL pRetVal);
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.