getListOfAuthorizedRoleNames method: DigitalCertStore class
Syntax
getListOfAuthorizedRoleNames(digital_ID, &array_auth_roles)
Description
Use the getListOfAuthorizedRoleNames method to return the list of authorized roles for the specified digital ID.
Parameters
| Parameter | Description |
|---|---|
|
digital_ID |
Specifies the digital ID for the certificate as a string value. |
|
&array_auth_roles |
Specifies an already instantiated array of string to store the returned list of authorized roles names. |
Returns
A return code as a numeric value:
| Numeric Value | Description |
|---|---|
|
0 |
The method executed successfully. |
|
65 |
The digital ID was specified as the empty string. |
|
68 |
No authorized roles are defined for this digital ID. |
|
69 |
The method executed successfully. There are n authorized roles for the specified digital ID. |