How can I convert a regular user into an affiliate user?

How can I convert an existing user into an affiliate user. I could do it for my own user, but not for others. Thanks