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(
int64 hstmt,
StringBuilder szCatalog,
StringBuilder szUserName,
StringBuilder szPassword,
StringBuilder szUserData)
Syntax
CREATE USER UserName [IDENTIFIED]
{BY Password | EXTERNALLY}]
[USERDATA ’UserData’]
DROP USER UserName
Parameters for dam_getUser
| Parameter | Type | Description |
| IN | ||
| hstmt | int64 | The statement handle |
| OUT | ||
| szCatalog | StringBuilder | The database catalog. Not supported in this version. |
| szUserName | StringBuilder | The name of the user |
| szPassword | StringBuilder | The password of the user. The password string will be DAM_OPS_PASSWORD, to indicate that the password was specified as EXTERNALLY. |
| szUserData | StringBuilder | The user data string |
| RETURN | ||
| NONE |