• Assigning profile to user

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #49959  by openkm_user
 
Hello,

There is no API available for creating user in OpenKM, so we used the following to write our own method,
https://github.com/openkm/document-mana ... .java#L308

We would like to also do it for profile, can you please point us on the right direction?

Thanks!
 #49971  by jllort
 
I will try to explain. Because OpenKM might work with several authentication providers ( OpenKM database, LDAP ) these methods not always will working ( for example in case LDAP, OpenKM get a read-only connection and can not apply changes in the AD ).

The method you shared is a REST method what should be used from the network, you should use OKMAuth class for it purpose, take a look in the next URL https://docs.openkm.com/kcenter/view/ok ... createUser

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.