Creates a new global policy in the object store. The policy attributes are contained in the pStructPolicy structure.
If the policy exists and the bUpdate flag is true, the item is updated.
Type
Policy function, global scope.
Syntax
int SM_EXTERN Sm_PolicyApi_AddGlobalPolicy ( void* pSessionHandle, Sm_PolicyApi_Policy_t* pStructPolicy, 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. |
pStructPolicy |
I |
A pointer to a completely filled policy structure. The structure's domain OID is ignored. |
bUpdate |
I |
A flag to indicate that if an existing object is found, it should be updated. |
Returns
Copyright © 2014 CA.
All rights reserved.
|
|