Look at the documentation ;)
UserService, RoleService and MembershipService are your friends.
Would you mind pointing me to an example or providing a link to the relevant chapter? Tried to google it, but couldnt find any hits, and I've looked through the Portal docs to get a sense for the login modules, etc, and I almost have all the necessary login modules.
I am doing a direct insert into the jbp_users and jbp_role_membership table for the new user that i am creating, but that doesnt appear to be enough as i get authorization errors as this user. Also, i am using there are no restrictions with user names as my users are in LDAP and have the entire email address as their username. Thanks.