ACI API 26.3
ACI API Programming Guide

# aciObjectSetSecurityKeys

Call the `aciObjectSetSecurityKeys` function to specify the security keys for communication with an ACI server.

## Syntax

    aciObjectSetSecurityKeys (
       t_aciObject* pObject,
       int nKey1,
       int nKey2,
       int nKey3,
       int nKey4)

## Arguments

Arguments | Type/Description
--- | ---
`pObject` | `t_aciObject*` A pointer to an `ACI_CONNECTION` type object.
`nKey1` | `int` Value of the first security key.
`nKey2` | `int` Value of the second security key.
`nKey3` | `int` Value of the third security key.
`nKey4` | `int` Value of the fourth security key.

## Discussion

This function sets the four security keys needed for secure communication with an ACI server. Enter the value of the first security key with `nKey1`, the value of the second security key with `nKey2`, and so on. You can call this function only for an `ACI_CONNECTION` type ACI object.

## Returns

An ACI error code.

Copyright 2026 Open Text
Version 26.3 | Last updated July 2026

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: Knowledge Discovery ACI API 26.3

Topic Title: aciObjectSetSecurityKeys