ACI API 24.1

# aciObjectParamSetString

Call the `aciObjectParamSetString` function to set the contents of a string parameter.

## Syntax

    aciError aciObjectParamSetString (
       t_aciObject* pObject,
       char* szName,
       char* szValue);

## Arguments

Arguments | Type/Description
--- | ---
`pObject` | `t_aciObject*` A pointer to an `ACI_DATA` object that contains an XML result.
`szName` | `char*` A pointer to the parameter name.
`szValue` | `char*` A string value.

## Discussion

This function adds the `szName` string parameter with the specified `szValue` to the `pObject`.

## Returns

An ACI error code.

## Example

    aciObjectParamSetString(pCommand, ACI_COM_COMMAND, "Query"

    aciObjectParamSetString(pConnection, ACI_CONN_ENCRYPTION,
       ACI_CONN_ENCRYPTION_TYPE_TEA);

    aciObjectParamSetString(pConnection, ACI_HOSTNAME, "12.3.4.56");

Copyright 2023 Open Text
Version 24.1 | Last updated December 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL ACI API 24.1

Topic Title: aciObjectParamSetString