is used for accessing and setting the permissions of a user for a database object. More...
import "XAuthorizable.idl";
Public Member Functions | |
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. | |
![]() | |
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. | |
is used for accessing and setting the permissions of a user for a database 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.
objName | the name of the object |
objType | a value of com::sun::star::sdbcx::PrivilegeObject |
com::sun::star::sdbc::SQLException | if a database access error occurs. |
long getPrivileges | ( | [in] string | objName, | |||
[in] long | objType ) | |||||
raises | ( | com::sun::star::sdbc::SQLException ) |
retrieves the permissions for a specific object.
objName | the name of the object |
objType | a value of com::sun::star::sdbcx::PrivilegeObject |
com::sun::star::sdbc::SQLException | if a database access error occurs. |
void grantPrivileges | ( | [in] string | objName, | |||
[in] long | objType, | |||||
[in] long | objPrivileges ) | |||||
raises | ( | com::sun::star::sdbc::SQLException ) |
adds additional permissions for a specific object.
objName | the name of the object |
objType | a value from the com::sun::star::sdbcx::PrivilegeObject constants group |
objPrivileges | a value from the com::sun::star::sdbcx::Privilege constants group |
com::sun::star::sdbc::SQLException | if a database access error occurs. |
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.
objName | the name of the object |
objType | a value from the com::sun::star::sdbcx::PrivilegeObject constants group |
objPrivileges | a value from the com::sun::star::sdbcx::Privilege constants group |
com::sun::star::sdbc::SQLException | if a database access error occurs. |