General > Developers Corner

GetGroupstable for DListView

(1/1)

doc_brown:
I'm trying to display all the ranks of ulx
in a Dlistview with a simple for k,v loop

I have tried to look at the util.GetUserGroups() table,
but this table only has values pertaining to people already with
a usergroup.
I was wondering if ULX has something like this built in I would be able to use,
or if I would have to access the groups from the data folder.

thanks in advance!

Megiddo:
It's not in the documentation because we don't want anyone messing with it directly, but for your use case of simply getting a list of groups, you can access
--- Code: ---ULib.ucl.groups
--- End code ---

doc_brown:
Thanks for the quick response time!
worked amazingly.
 8)

Navigation

[0] Message Index

Go to full version