Previous Topic: Sm_PolicyApi_GetAffiliateDomain()Next Topic: Sm_PolicyApi_GetAffiliateDomainObjects()


Sm_PolicyApi_GetAffiliateDomainByName()

Gets an affiliate domain.

Type

Federation function

Syntax

int SM_EXTERN Sm_PolicyApi_GetAffiliateDomainByName (
   void*                            pSessionHandle,
   const char*                      pszAffiliateDomainName,
   Sm_PolicyApi_AffiliateDomain_t** ppstructAffiliateDomain
);

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.

pszAffiliate
 DomainName

I

A null-terminated string containing the name of an existing affiliate domain.

ppstruct
 AffiliateDomain

O

The address of a pointer to an affiliate domain structure.

Returns