To demonstrate using collections as input parameters, the GetResourcesEmailAddresses will be used as it takes a ResourceIdentityCollection.
Methods that take a collection will have a + symbol by their type:
GetResourcesEmailAddresses takes a collection of resources and returns a collection of their email addresses. For each resource needed, the + symbol should be clicked. For this example there will be two resources, TestUser1 and TestUser2, that we wish to retrieve the email adresses of: