Creates a new SiteMinder rule. The attributes of the rule itself are contained in the structure referenced by pStructRule.
If the rule exists and the bUpdate flag is true, the item is updated.
Note: A rule is always associated with a realm. Rule names are unique within in a realm but not within a domain.
Type
Rule function, domain scope.
Syntax
int SM_EXTERN Sm_PolicyApi_AddRule ( 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 completed rule 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 |