Builds the hierarchical realm and rule tree.
This function retrieves a list of OIDs. The OIDs are of type realms, or realms and rules. If the function is called with a domain OID, it retrieves a list of top-level realm OIDs. If the function is called with a realm OID, it retrieves a list of realm and rule OIDs under that realm. The iObjectId field in Sm_PolicyApi_Oid_t specifies the type of OID.
If there are no children for the domain or realm OID, the function returns an empty list.
Type
Realm function, domain scope.
Syntax
int SM_EXTERN Sm_PolicyApi_GetChildren ( void* pSessionHandle, const char* pszOid, Sm_PolicyApi_Oid_t** ppStructObject );
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. |
pszOid |
I |
A null-terminated string containing the object identifier of a domain or a realm. |
ppStructObject |
O |
The address of a pointer to a Sm_PolicyApi_Oid_t structure. |
Returns
Copyright © 2014 CA.
All rights reserved.
|
|