Previous Topic: Sm_PolicyApi_AddAttributeToSAMLSP()

Next Topic: Sm_PolicyApi_AddGlobalPolicy()

Sm_PolicyApi_AddDomain()

Creates a new SiteMinder domain. Attributes of the domain are contained in the pstructDomain structure.

If the domain exists and the bUpdate flag is true, the item is updated.

Type

Domain function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_AddDomain (
   void*                    pSessionHandle,
   Sm_PolicyApi_Domain_t*   pstructDomain,
   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.

pstructDomain

I

A pointer to a completely filled-in domain structure.

bUpdate

I

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

Returns


Copyright © 2010 CA. All rights reserved. Email CA about this topic