Creates a new SiteMinder policy link for the policy identified by pszPolicyOid.
A policy link object binds a policy to a rule and, optionally, a response. The attributes of the new policy link are contained in the pstructPolicyLink structure.
If the policy link exists and the bUpdate flag is true, the item is updated.
Type
Policy function, domain scope.
Syntax
int SM_EXTERN Sm_PolicyApi_AddPolicyLink ( void* pSessionHandle, const pszPolicyOid, Sm_PolicyApi_PolicyLink_t* pstructPolicyLink );
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. |
pszPolicyOid |
I |
A null-terminated string containing the object identifier of an existing policy. |
pstructPolicyLink |
I |
A pointer to a completely filled-in policy link structure. |
Returns
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |