skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : dam_getUser
 

dam_getUser

This method returns the user information in the CREATE USER and DROP USER commands of the ipDCL method.
void dam_getUser(
     long         hstmt,
     StringBuffer szCatalog,
     StringBuffer szUserName,
     StringBuffer szPassword,
     StringBuffer szUserData)

Command syntax

CREATE USER UserName [IDENTIFIED]
{BY Password | EXTERNALLY}]
[USERDATA 'UserData']
DROP USER UserName
Table 223. Parameters for dam_getUser
Parameter
Type
Description
INPUT
hstmt
long
The statement handle.
OUTPUT
szCatalog
StringBuffer
The database catalog. Not supported in this version.
szUserName
StringBuffer
The name of the user.
szPassword
StringBuffer
The password of the user. The password string will be DAM_OPS_PASSWORD, to indicate that the password was specified as EXTERNALLY.
szUserData
StringBuffer
The user data string.
RETURN
NONE