• OkmAuth Webservices GetUsers problem

  • Do you want to create a native client or integrate with third party applications: webservices are the solution.
Do you want to create a native client or integrate with third party applications: webservices are the solution.
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.
 #6362  by Viral Raithatha
 
Hi,
I am using web services of OpenKM.
In that one service is for okmAuth,

In that service function name getUsers(string token) is not giving me the user name list,

I had configer okm with mysql and all is running well,

Thank You,
Viral Raithatha
 #6451  by Viral Raithatha
 
This is my code where I use the OKMAuth web services.
Code: Select all
public string[] GetUsers(string Token) {
            OKMAuth.OKMAuthService objOKMAuthWS = null;            
            try {
                objOKMAuthWS = new OKMAuth.OKMAuthService();
                return objOKMAuthWS.getUsers(Token);   [b]//Here i cant get any user [/b] 
            } catch (Exception ex) {
                throw ex;
            } finally {
                objOKMAuthWS = null;
            } 
        }
Users are available in my database.

For your information it is properly working for roles list.
 #6505  by pavila
 
In OpenKM 4.1 we have detected some bugs in the auth webservices which are fixed in OpenKM 5.

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.