c_GetUserList not returning all users

You can share your Lua Scripts with everybody here.

c_GetUserList not returning all users

Postby briane » Tue Jan 22, 2013 4:06 pm

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
briane
 
posts 1
 
joined Tue Jan 22, 2013 2:59 pm

Re: c_GetUserList not returning all users

Postby FTP » Tue Jan 22, 2013 5:30 pm

You can have a look on this script: viewtopic.php?f=6&t=295
FTP
Site Admin
 
posts 1232
 
joined Tue Sep 29, 2009 6:09 am


Return to Lua scripts

Who is online

Users browsing this forum: No registered users and 1 guest