Previous Topic: Sm_PolicyApi_GetPolicyByName()

Next Topic: Sm_PolicyApi_GetPolicyUsers()

Sm_PolicyApi_GetPolicyLinks()

Returns a linked list of all of the policy links that are associated with the policy identified by pszPolicyOid.

The linked list returned is referenced by the ppstructPolicyLink structure. Free the memory allocated to these structures by calling Sm_PolicyApi_FreeMemoryEx().

Type

Policy function, domain scope.

Syntax

int SM_EXTERN Sm_PolicyApi_GetPolicyLinks (
   void*                        pSessionHandle,
   const char*                  pszPolicyOid,
   Sm_PolicyApi_PolicyLink_t**  ppstructPolicyLink
);

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.

ppstructPolicyLink

O

The address of a policy link structure.

Returns


Copyright © 2010 CA. All rights reserved. Email CA about this topic