Previous Topic: Sm_PolicyApi_AddGlobalResponse()

Next Topic: Sm_PolicyApi_AddGroup()

Sm_PolicyApi_AddGlobalRule()

Creates a new global rule in the object store.

Type

Rule function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_AddGlobalRule (
   void*                   pSessionHandle,
   Sm_PolicyApi_Rule_t*    pStructRule,
   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.

pStructRule

I

A pointer to a completely filled-in rule structure. The realm OID in the structure is ignored.

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