create_allowed_db
This command creates a User-DB association.
Note: To apply the changes to the active User-DB association map, run update_user_db after you run this command.
This API is available in Guardium V9.5 and later.
REST API syntax
This API is available as a REST service with the
POST
method. Call this API as follows:
POST https://[Guardium hostname or IP address]:8443/restAPI/allowed_db
GuardAPI syntax
create_allowed_db parameter=value
Parameters
Parameter | Value type | Description |
---|---|---|
instanceName | String | A specific instance name within the server. |
serverIp | String | Required. The server IP. |
userName | String | Required. The name of the user. |
Examples
grdapi create_allowed_db userName=Fred serverIp=192.168.1.1 instanceName=test