Parameter
|
Type
|
Description
|
INPUT
|
||
hstmt
|
long
|
Statement handle of the currently active statement.
|
iType
|
int
|
Type of command requested.
DAM_CREATE_USER - create an user.
DAM_DROP_USER - drop an user.
DAM_CREATE_ROLE - create a role.
DAM_DROP_ROLE - drop a role.
DAM_GRANT - grant a privilege.
DAM_REVOKE - revoke a privilege.
|
piNumResRows
|
xo_long
|
The number of rows affected by this operation.
|
RETURN
|
||
int
|
DAM_SUCCESS - on successDAM_FAILURE - on failure
|