How to create contacts with roles in portals?
From SmartWiki
To do this, you need to put the following shortcut into your portal:
/s_edituser.jsp?nextlevel=1&scope=1&userid=0&roleids=#=####&accesslink=0
If you are assigning multiple roles, the values for the roleids need to be comma separated.
Where Access type is:
0 = No access, 1 = Administration or Portal Interface, 3 = User Centric or Applicant Interface