You can share your Lua Scripts with everybody here.

List all members of a group?

Mon Feb 09, 2015 6:46 pm

Using the GUI, I wish there was a way to see a member list of users from within the properties of a group. Failing that, can you provide a script that would enumerate all the users within a given group?

Re: List all members of a group?

Wed Feb 11, 2015 4:16 am

You can list all members like this:

Code:
local userlist = c_GetGroup("domain1", "group111").userlist
for _,user in pairs(userlist) do
    print(user.username)
    print("\n")
end


And we will consider to add this feature in the next version of Wing FTP Server.