Returns an array that enumerates the member lists available for a dimension. A flag specifies whether names or IDs of the member lists are returned.
<HFMwDimension>.EnumMemberLists (lFlagsRequestedInfo, pvaravarlIDs, pvaravarbstrListNames)
Specifies whether names or IDs of member lists are returned. Pass any of the following HFMConstants type library constants (for descriptions, see Metadata Information Constants): | |
If WEBOM_METADATA_INFO_ID or WEBOM_METADATA_INFO_ALL is passed to the lFlagsRequestedInfo argument, this returns an array of the member list IDs. | |
If WEBOM_METADATA_INFO_LABEL or WEBOM_METADATA_INFO_ALL is passed to the lFlagsRequestedInfo argument, this returns an array of the member list names. |
Returns a count of the member lists for the dimension.
The following function returns the names of the member lists for an application’s Entity dimension.
Function getEntityMemberLists() Dim cHFMMetadata, cHFMEntities, cDimension, lCount Dim vaIDs, vaListNames Set cHFMMetadata = cHFMSession.metadata Set cHFMEntities = cHFMMetadata.entities Set cDimension = cHFMEntities.dimension lCount = cDimension.EnumMemberLists(WEBOM_METADATA_INFO_LABEL, _ vaIDs, vaListNames) getEntityMemberLists = vaListNames End Function