1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 #include <sdbcx/VUser.hxx>
13 #include <com/sun/star/sdbc/XConnection.hpp>
15 namespace connectivity::firebird
19 * This implements com.sun.star.sdbcx.Container.
21 class User
: public ::connectivity::sdbcx::OUser
23 css::uno::Reference
< css::sdbc::XConnection
> m_xConnection
;
27 * Create a "new" descriptor, which isn't yet in the database.
29 User(const css::uno::Reference
< css::sdbc::XConnection
>& rConnection
);
31 * For a user that already exists in the db.
33 User(const css::uno::Reference
< css::sdbc::XConnection
>& rConnection
, const OUString
& rName
);
36 virtual void SAL_CALL
changePassword(const OUString
&, const OUString
& newPassword
) override
;
37 virtual sal_Int32 SAL_CALL
getPrivileges(const OUString
&, sal_Int32
) override
;
38 virtual sal_Int32 SAL_CALL
getGrantablePrivileges(const OUString
&, sal_Int32
) override
;
40 // IRefreshableGroups::
41 virtual void refreshGroups() override
;
44 } // namespace connectivity::firebird
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */