• Import user available In OPENKM?

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #11174  by tun001757
 
Hi All,

Is there a way to import user from text file or csv in OPENKM?

Or have to create user manually one by one?

Regards,

Tun
 #11179  by jllort
 
You can create a SQL script and execute in administration view.
 #41474  by TMEBM
 
jllort wrote:You can create a SQL script and execute in administration view.
Hello Need help here. Where can i find the SQL script to import users from CSV?

Thanks.
 #41486  by jllort
 
You should create yourself, but here some interesting url what can help you:
Here sample for reading csv files -> http://wiki.openkm.com/index.php/CSV_importer

And for creating users you need to execute OKMAuth methods
OKMAuth.getIntance().createUser(null, user, password, email, name, active);

Take a look here:
https://docs.openkm.com/apidoc/com/okm/6.3.1/ ( you should be interested in api com.openkm.api.*; )
https://docs.openkm.com/apidoc/com/okm/ ... MAuth.html

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.