3.1.1.1.2.2.5 GetObjectIdsForLogicalGroup
This procedure can be used to retrieve the list of object record identifiers that map to the specified logical group. The objects will be mapping to the logical group if they have the custom field value that forms the first level of the logical group hierarchy.
The following is the input parameter to this procedure.
Param_logicalGroup: The LogicalGroup for which the mapping object identifiers is being requested.
Param_objectType: The EnumerationObjectType used to specify the object for which the logical group membership is being requested.
Param_addressFamily: This specifies the address family of the object type for which the logical group mapping is being requested.
The following is the output parameter of this procedure.
Result_ObjectIds: The list of object record identifiers that are mapped to the specified logical group.
The following are the processing steps involved.
Enumerate the rows in ADM_CustomFieldValuesAssociationTable that meet the following criteria:
ObjectType is equal to Param_objectType.
Af is equal to Param_addressFamily.
CustomFieldId is equal to Param_logicalGroup.Fields[0].CustomFieldRecordId.
For each of the row enumerated, add the UsedById to Result_ObjectIds.
Return Result_ObjectIds as the output parameter of this procedure.