19User::User(
const css::uno::Reference< css::sdbc::XConnection >& rConnection):
24User::User(
const css::uno::Reference< css::sdbc::XConnection >& rConnection,
const OUString& rName):
32 m_xConnection->createStatement()->execute(
"ALTER USER " +
m_Name +
" PASSWORD '" + newPassword +
"'");
virtual sal_Int32 SAL_CALL getPrivileges(const OUString &, sal_Int32) override
css::uno::Reference< css::sdbc::XConnection > m_xConnection
virtual void SAL_CALL changePassword(const OUString &, const OUString &newPassword) override
virtual void refreshGroups() override
User(const css::uno::Reference< css::sdbc::XConnection > &rConnection)
Create a "new" descriptor, which isn't yet in the database.
virtual sal_Int32 SAL_CALL getGrantablePrivileges(const OUString &, sal_Int32) override
Reference< XConnection > m_xConnection