diff options
-rw-r--r-- | connectivity/source/drivers/firebird/User.cxx | 12 | ||||
-rw-r--r-- | connectivity/source/drivers/firebird/User.hxx | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/User.cxx b/connectivity/source/drivers/firebird/User.cxx index a2e6f71e3bed..3a9682fb8264 100644 --- a/connectivity/source/drivers/firebird/User.cxx +++ b/connectivity/source/drivers/firebird/User.cxx @@ -32,6 +32,18 @@ void User::changePassword(const OUString&, const OUString& newPassword) m_xConnection->createStatement()->execute("ALTER USER " + m_Name + " PASSWORD '" + newPassword + "'"); } +sal_Int32 User::getPrivileges(const OUString& , sal_Int32 ) +{ + // TODO: implement. + return 0; +} + +sal_Int32 User::getGrantablePrivileges(const OUString& , sal_Int32 ) +{ + // TODO: implement. + return 0; +} + //----- IRefreshableGroups ---------------------------------------------------- void User::refreshGroups() { diff --git a/connectivity/source/drivers/firebird/User.hxx b/connectivity/source/drivers/firebird/User.hxx index fe2f97dcdb54..5668c3223c13 100644 --- a/connectivity/source/drivers/firebird/User.hxx +++ b/connectivity/source/drivers/firebird/User.hxx @@ -35,7 +35,11 @@ namespace connectivity */ User(const css::uno::Reference< css::sdbc::XConnection >& rConnection, const OUString& rName); + // XAuthorizable virtual void SAL_CALL changePassword(const OUString&, const OUString& newPassword) override; + virtual sal_Int32 SAL_CALL getPrivileges(const OUString&, sal_Int32) override; + virtual sal_Int32 SAL_CALL getGrantablePrivileges(const OUString&, sal_Int32) override; + // IRefreshableGroups:: virtual void refreshGroups() override; }; |