LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | List of all members
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. More...
 
- 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. More...
 
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. More...
 
void grantPrivileges ([in]string objName, [in]long objType, [in]long objPrivileges) raises (com::sun::star::sdbc::SQLException)
 adds additional permissions for a specific object. More...
 
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. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

allows for changing a users password.

Developers Guide
Database - User Service

Member Function Documentation

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: