if the other system can accept list of objects then you should be good create an aobject of List<userrolesobject> and send it. you can use generic list, otherwise if this is limitation at other system to accept the object in the format you dont have,
then you would have to write code to send it individually which will be an overhead.
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM Mohammad Nizamuddin
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM Mohammad Nizamuddin