24#include <com/sun/star/sdbc/XRow.hpp>
25#include <com/sun/star/sdbc/XResultSet.hpp>
36OAdoUser::OAdoUser(
OCatalog* _pParent,
bool _bCase, ADOUser* _pUser)
50 , m_pCatalog(_pParent)
59 ::std::vector< OUString> aVector;
141 sal_Int32 nRights = 0;
143 if((eRights & adRightWithGrant) == adRightWithGrant)
::cppu::IPropertyArrayHelper * getArrayHelper()
void describeProperties(css::uno::Sequence< css::beans::Property > &_rProps) const
void registerProperty(const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
static void ThrowException(ADOConnection *_pAdoCon, const css::uno::Reference< css::uno::XInterface > &_xInterface)
static ObjectTypeEnum mapObjectType2Ado(sal_Int32 objType)
static sal_Int32 mapRights2Ado(sal_Int32 nRights)
static sal_Int32 mapAdoRights2Sdbc(RightsEnum eRights)
virtual void SAL_CALL grantPrivileges(const OUString &objName, sal_Int32 objType, sal_Int32 objPrivileges) override
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &rValue) override
OAdoUser(OCatalog *_pParent, bool _bCase, ADOUser *_pUser=nullptr)
virtual sal_Int32 SAL_CALL getGrantablePrivileges(const OUString &objName, sal_Int32 objType) override
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &rValue, sal_Int32 nHandle) const override
virtual void SAL_CALL revokePrivileges(const OUString &objName, sal_Int32 objType, sal_Int32 objPrivileges) override
virtual void SAL_CALL changePassword(const OUString &objPassword, const OUString &newPassword) override
virtual void refreshGroups() override
virtual sal_Int32 SAL_CALL getPrivileges(const OUString &objName, sal_Int32 objType) override
OConnection * getConnection() const
WpADOConnection & getConnection()
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
OUserExtend(OCatalog *_pParent, bool _bCase, ADOUser *_pUser=nullptr)
virtual void construct() override
bool ChangePassword(std::u16string_view _rPwd, std::u16string_view _rNewPwd)
OUString get_Name() const
bool SetPermissions(const OLEVariant &Name, ObjectTypeEnum ObjectType, ActionEnum Action, RightsEnum Rights)
RightsEnum GetPermissions(const OLEVariant &Name, ObjectTypeEnum ObjectType)
void put_Name(std::u16string_view _rName)
void fillElementNames(::std::vector< OUString > &_rVector)
bool isCaseSensitive() const
std::unique_ptr< OGroups > m_pGroups
mutable::osl::Mutex m_aMutex
void checkDisposed(bool _bThrow)
#define PROPERTY_ID_PASSWORD