Methods' Details |
getPrivileges
long
getPrivileges( |
[in] string
[in] long
raises(
|
objName,
objType )
::com::sun::star::sdbc::SQLException ); |
- Description
- retrieves the permissions for a specific object.
- Parameter objName
-
the name of the object
- Parameter objType
-
a value of
- Returns
-
the privileges
- Throws
- com::sun::star::sdbc::SQLException
if a database access error occurs.
|
|
getGrantablePrivileges
long
getGrantablePrivileges( |
[in] string
[in] long
raises(
|
objName,
objType )
::com::sun::star::sdbc::SQLException ); |
- Description
- retrieves the permissions for a specific object, which could be granted
to other users and groups.
- Parameter objName
-
the name of the object
- Parameter objType
-
a value of
- Returns
-
the grant privileges
- Throws
- com::sun::star::sdbc::SQLException
if a database access error occurs.
|
|
grantPrivileges
void
grantPrivileges( |
[in] string
[in] long
[in] long
raises(
|
objName,
objType,
objPrivileges )
::com::sun::star::sdbc::SQLException ); |
- Description
- adds additional permissions for a specific object.
- Parameter objName
-
the name of the object
- Parameter objType
-
a value of
- Throws
- com::sun::star::sdbc::SQLException
if a database access error occurs.
|
|
revokePrivileges
void
revokePrivileges( |
[in] string
[in] long
[in] long
raises(
|
objName,
objType,
objPrivileges )
::com::sun::star::sdbc::SQLException ); |
- Description
- removes permissions for a specific object from a group or user.
- Parameter objName
-
the name of the object
- Parameter objType
-
a value of
- Throws
- com::sun::star::sdbc::SQLException
if a database access error occurs.
|
|
Copyright © 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.