Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
how to do Bulk-adding users in liferay 7.1
Dear Team,
Bulk-adding users. I.e. adding multiple users at once would be a very useful feature. Does anyone know a way of doing it now?
RegardsRam
Bulk-adding users. I.e. adding multiple users at once would be a very useful feature. Does anyone know a way of doing it now?
RegardsRam
Ramalingaiah. D:
Bulk-adding users. I.e. adding multiple users at once would be a very useful feature. Does anyone know a way of doing it now?
- Through the API (UserService and UserLocalService as a starting point, but probably you'll involve Group-, Role-, and other services as well)
- Through LDAP (and you can configure "import at startup" or "import every x (interval)"
Dear Olaf Kock,thank you for your reply
i adding csv file data in user table through query ,is it possible?
RegardsRam
i adding csv file data in user table through query ,is it possible?
RegardsRam
Ramalingaiah. D:
If you mean "through sql" when you say "through query": No. You must never even think of writing any data into Liferay's table without using the API. This includes INSERT, UPDATE, and DELETE statements - any statements that change data are to be avoided. If you ignore this, you'll run into issues later, e.g. during upgrade.
i adding csv file data in user table through query ,is it possible?
You want to change Liferay's data? Use the API! Or any other provided means (e.g. LDAP as mentioned above) that uses the API itself. Period.
Dear Olaf Kock,thank you so mach .
Best RegardsRam
Best RegardsRam