List all members of a group?

You can share your Lua Scripts with everybody here.
Post Reply
Posts: 3
Joined: Fri Feb 01, 2013 8:07 pm

List all members of a group?

Post 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?
Site Admin
Posts: 1935
Joined: Tue Sep 29, 2009 6:09 am

Re: List all members of a group?

Post 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
And we will consider to add this feature in the next version of Wing FTP Server.
Post Reply