留言板
Registration
HI
How can we create the user registration in liferay
Please Help me out to create this module
please
Thanks if any
How can we create the user registration in liferay
Please Help me out to create this module
please
Thanks if any
you can create custom portlet.
check this blog
http://java-liferay.blogspot.in/2012/03/custom-liferay-user-registration.html
if you need any further help .please let me know i will share sample portlet for creating user in liferay
check this blog
http://java-liferay.blogspot.in/2012/03/custom-liferay-user-registration.html
if you need any further help .please let me know i will share sample portlet for creating user in liferay
HI Manish
Can u please share the sample code for creating user in liferay
Thanks for help
Can u please share the sample code for creating user in liferay
Thanks for help
R Naresh Reddy:
HI Manish
Can u please share the sample code for creating user in liferay
Thanks for help
This is Sample for adding new user in liferay...
int birthdayMonth = Calendar.JANUARY;
int birthdayDay = 1;
int birthdayYear = 1970;
ServiceContext serviceContext = new ServiceContext();
String txtName="Test";
txtEmail="text@liferay.com";
User user;
user = UserLocalServiceUtil.addUser(0, PortalUtil.getDefaultCompanyId(), true,txtPassword,txtConfirmPassword, true, "",
txtEmail, 0, "", new Locale("sv", "SE"),txtName, "","", 0, 0, true, birthdayMonth,
birthdayDay, birthdayYear, "", null, null, null, null, true, serviceContext);