public final class SetupUsers extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteUsers(List<eu.lundegaard.liferay.db.setup.domain.User> users,
String deleteMethod,
long companyId)
by this method, all users will be deleted from liferay, excluding those
listed in the setup.xml. from security reasons, no administrators, or default
users are deleted
|
static void |
setupUsers(List<eu.lundegaard.liferay.db.setup.domain.User> users,
long runAsUser,
long groupId,
long companyId) |
public static void setupUsers(List<eu.lundegaard.liferay.db.setup.domain.User> users, long runAsUser, long groupId, long companyId)
public static void deleteUsers(List<eu.lundegaard.liferay.db.setup.domain.User> users, String deleteMethod, long companyId)
users - -deleteMethod - -companyId - the ID of the company in which users will be deletedCopyright © 2016–2023 Lundegaard a.s.. All rights reserved.