dam_getRole
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method returns the user information in the CREATE ROLE and DROP ROLE commands. It is used in the ipDCL method.
void dam_getRole(
int64 hstmt,
StringBuilder szCatalog,
StringBuilder szRoleName)
Syntax
CREATE ROLE RoleName
DROP USER RoleName
Parameters for dam_getRole
| Parameter | Type | Description |
| IN | ||
| hstmt | int64 | The statement handle |
| OUT | ||
| szCatalog | StringBuilder | The database catalog |
| szRoleName | StringBuilder | The name of the role |
| RETURN | ||
| NONE |