How can I create bulk users upto 100 in OpenKM panel ?
Is there any database script for that?
Is there any database script for that?
import com.openkm.api;
OKMAuth.getInstance().createUser(null, "userId", "password", "test@openkm.com", "User Name", true); // repeat the line for each user
OKMAuth.getInstance().assignRole(null, "userId", "ROLE_TEST"); // repeat the line for each role you wish to assign to the user