Page 1 of 1

List all members of a group?

PostPosted: Mon Feb 09, 2015 6:46 pm
by Rusty
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?

PostPosted: Wed Feb 11, 2015 4:16 am
by FTP
You can list all members like this:

Code: Select all
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.