Announcement

Collapse
No announcement yet.

Export list of users

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Export list of users

    Hello.

    Is it possible to export the list of users?
    I want to export the users' list, with usernames and login tokens.

    Thanks in advance.

  • #2
    We don't have such a feature. Why do you need it?

    Comment


    • #3
      We will be deploying/installing NxProxy to clients. It seems that the installation of NxProxy in the clients is using the same login tokens.
      So my thinking is, I need to have a list of usernames and login tokens so that the install guys can configure the login tokens upon installation.

      Comment


      • #4
        Copy this code into a file named 'uxport.jsp' and copy the file into /nxfilter/guipack/sandwatch and run it as http://your-nxfilter-ip/uxport.jsp in your browser,

        Code:
        <%@include file="include/lib.jsp"%>
        <%
        //-----------------------------------------------
        // Create data access object.
        UserDao dao = new UserDao();
        dao.limit = 100000;
        
        List<UserData> dataList = dao.selectList();
        for(int i = 0; i < dataList.size(); i++){
            UserData data = dataList.get(i);
            printf("%s, %s<br>\n", data.name, data.token);
        }
        %>

        Comment


        • #5
          Thanks so much, it worked.
          This is the kind of support that makes NxProxy a gem among the rest.

          Comment

          Working...
          X