Previous Topic: Sm_PolicyApi_CreateODBCQueryScheme()

Next Topic: SM_PolicyAPI_UserDir_t Field Usage

Sm_PolicyApi_CreateUserDir()

Creates a new SiteMinder user directory object at global scope. The attributes of the user directory are contained in the pstructUserDir structure.

If the user directory object exists and the bUpdate flag is true, the item is updated.

Type

User directory function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_CreateUserDir (
   void*                     pSessionHandle,
   Sm_PolicyApi_UserDir_t*   pstructUserDir,
   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.

pstructUserDir

I

A pointer to a completely filled-in user directory structure.

bUpdate

I

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


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