This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

CMDBGetRelatedFederatedInContext function

The CMDBGetRelatedFederatedInContext function returns related BMC_FederatedInterface instances for a specific CI.


#include "ar.h"
#include "arextern.h"
#include "cmdb.h"

int CMDBGetRelatedFederatedInContext(
   ARControlStruct *control,
   CMDBClassNameId *classNameId,
   ARNameType datasetId,
   ARNameType instanceId,
   ARNameList *attributeGetList,
   ARNameList *instanceIdList,
   CMDBAttributeValueListList *attrValueListList,
   ARStatusList *status

Input arguments

Input argument



The control record for the operation, which contains information about the user requesting the operation and the server on which the operation is to be performed.


The class name for which to retrieve the federated instances. The classNameID argument contains the namespace name and the unique class name.


The dataset ID of the instance to retrieve.


The instance ID of the specific instance for which federated instances are to be retrieved.


The list of attribute names to retrieve.

Return values

Return value



The list of instance GUIDs.


A list of one or more attribute and value pairs (specified in any order). You must specify values for all required attributes that do not have defined defaults. Values must be of the data type defined for the attributes or have a data type of 0. NULL values can be specified for optional attributes only. An error is generated if an attribute does not exist or the user specified by the control parameter does not have write permission for an attribute.


A list of zero or more notes, warnings, or errors generated from a call of this function.

Was this page helpful? Yes No Submitting... Thank you