LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
XUser Interface Referencepublished

allows for changing a users password. More...

import "XUser.idl";

Inheritance diagram for XUser:
XAuthorizable XInterface User

Public Member Functions

void changePassword ([in]string oldPassword, [in]string newPassword) raises (com::sun::star::sdbc::SQLException)
 allows modifying a user password.
Public Member Functions inherited from XAuthorizable
long getPrivileges ([in]string objName, [in]long objType) raises (com::sun::star::sdbc::SQLException)
 retrieves the permissions for a specific object.
long getGrantablePrivileges ([in]string objName, [in]long objType) raises (com::sun::star::sdbc::SQLException)
 retrieves the permissions for a specific object, which could be granted to other users and groups.
void grantPrivileges ([in]string objName, [in]long objType, [in]long objPrivileges) raises (com::sun::star::sdbc::SQLException)
 adds additional permissions for a specific object.
void revokePrivileges ([in]string objName, [in]long objType, [in]long objPrivileges) raises (com::sun::star::sdbc::SQLException)
 removes permissions for a specific object from a group or user.
Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
void acquire ()
 increases the reference counter by one.
void release ()
 decreases the reference counter by one.

Detailed Description

allows for changing a users password.

Developers Guide
Database Access - User Service

Member Function Documentation

◆ changePassword()

void changePassword ( [in] string oldPassword,
[in] string newPassword )
raises (com::sun::star::sdbc::SQLException )

allows modifying a user password.

Parameters
oldPasswordthe old password to be reset
newPasswordthe new password
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

The documentation for this interface was generated from the following file: