List all members of a group?
-
- Posts: 3
- Joined: Fri Feb 01, 2013 8:07 pm
List all members of a group?
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: 2090
- Joined: Tue Sep 29, 2009 6:09 am
Re: List all members of a group?
You can list all members like this:
And we will consider to add this feature in the next version of Wing FTP Server.
Code: Select all
local userlist = c_GetGroup("domain1", "group111").userlist
for _,user in pairs(userlist) do
print(user.username)
print("\n")
end