exec [dbo].[utl_OrganizationByAttribute_s] @OrganizationAttributeTypeID = '1, 2' --A type and B type clients
The parameter can accept any number of ids, you have to pass it as comma seperated!
In the above example there are two ids 1 & 2
I have tested this with thousands of ids as a comma seperated and it just works fine.