How do integrate Membership and affilates?

I am unclear on how to make people who are members, paid or free also affiliates. Where is their log in page? How do they know they are affiliates?