Creates a new SiteMinder policy. 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, domain scope.
Syntax
int SM_EXTERN Sm_PolicyApi_AddPolicy ( 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-in policy 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 |