c_GetUserList not returning all users

You can share your Lua Scripts with everybody here.
Post Reply
briane
Posts: 1
Joined: Tue Jan 22, 2013 2:59 pm

c_GetUserList not returning all users

Post by briane »

I'm having a problem with LUA in that when I run c_GetUserList it is only returning 1 page of users.

I couldn't get my simple script to delete expired temporary users to work and after debugging found that the user list for truncated. I get the same result if running c_GetUserList from the Lua console.

The PageCount and PageList functions work so I guess i could use these to create a loop and build my own complete userlist but I'd like to understand why the getuserlist command doesn't work.

thanks.
Brian
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: c_GetUserList not returning all users

Post by FTP »

You can have a look on this script: http://www.wftpserver.com/bbs/viewtopic.php?f=6&t=295" rel="nofollow
Post Reply