ARSS Mapped Users: Need to dump MemberOf for each user into TXT

ARSS is configured between 2 ADs and I'm trying to dump MemberOf attribute for all mapped users into text file during sync wirkflow. groups are not mapped. I tried both scripts below but it just results in SIGNLE DN added to the file instead of MemberOf full array of DNs. So for 3 users I simply get 3 DNs added to text file of same single group. Any ideas?

ONE

foreach ($group in @($dstObj["memberOf"]))
{
$group | out-file C:\temp\TXT_1.csv -Append -Encoding Unicode
}

TWO

@($dstObj["memberOf"]) | out-file C:\temp\TXT_1.csv -Append -Encoding Unicode