Parameter
|
Type
|
Description
|
IN
|
|
|
hstmt
|
int64
|
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
|
OUT
|
|
|
piNumResRows
|
long
|
The number of rows affected by this operation
|
RETURN
|
|
|
|
int
|
DAM_SUCCESS – on success
DAM_FAILURE – on failure
|