skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_getRole
 

dam_getRole

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
 
Table 177: 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