Previous Topic: Sm_PolicyApi_AddAffiliate()Next Topic: Sm_PolicyApi_AddAgent()


Sm_PolicyApi_AddAffiliateDomain()

Creates a new or updates an existing affiliate domain. Sets bIsAffiliate to TRUE.

Type

Federation function

Syntax

int SM_EXTERN Sm_PolicyApi_AddAffiliateDomain (
   void*                           pSessionHandle,
   Sm_PolicyApi_AffiliateDomain_t  *pstructAffiliateDomain,
   const bool                      bUpdate
);

Parameter

I/O

Description

pSessionHandle

I

A pointer to an internal Policy Management API data structure. The structure holds information about the administrator session and the client session.

pstructAffiliate
  Domain

I

A pointer to a completely filled-in affiliate domain structure.

bUpdate

I

A boolean flag to indicate that if an existing object is found, it should be updated.

Returns