Retrieve Channel Member Names and IDs

Use AMPscript to pull back channel member IDs and names from an Enterprise account. The landing page in this example displays the channel member names and IDs for all entities within your Enterprise account. Use this information as part of your SOAP API calls to perform any necessary calls. Place the AMPscript below in a landing page and refresh the page to view the information. You must change the ParentID in the AMPscript to match your parent account and create the data extension necessary to hold the information.

Prerequisites

This example requires familiarity with AMPscript. You must also use an Enterprise account enabled for microsites or landing pages.

Example

Add the string &p=1 to the end of your microsite or landing page when running this AMPscript to prevent processing by search bots and other similar mechanisms. To allow this processing, leave the string off of the URL and remove the IF and ENDIF statements from this example.