dam_getUser
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
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
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 | ||