Hitoshi Ozawa:
If you using UserServiceLocalUtil, you're able to specify roles users. Have you tried adding with addUser(User)?
I'm using this method to add New User in my Costum Portlet
1UserLocalServiceUtil.addUser(creatorUserId, companyId, autoPassword, password1, password2, autoScreenName, screenName, emailAddress, facebookId, openId, locale, firstName, middleName, lastName, prefixId, suffixId, male, birthdayMonth, birthdayDay, birthdayYear, jobTitle, groupIds, organizationIds, roleIds, userGroupIds, sendEmail, serviceContext)
Does It different? with the method u provide? and example for default all created new user assigned to Penumpang Roles and UserGroups Penumpang..what service I should use?
Regards
Danial