Previous Topic: Function Declarations for the Policy Management API

Next Topic: Sm_PolicyApi_AddAdminToAffiliateDomain()

Sm_PolicyApi_AddAdmin()

Creates a new SiteMinder administrator object at a global scope. The administrator's attributes are contained in the pstructAdmin structure.

If the administrator object exists and bUpdate is true, the item is updated.

Type

Administrator function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_AddAdmin (
   void*                    pSessionHandle,
   Sm_PolicyApi_Admin_t*    pstructAdmin,
   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.

pstructAdmin

I

A pointer to a completely filled-in administrator 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