Does anybody know how to get a list of userclasses from AccessManager? I have used getUserList.mac that I found from this site, but with it I can't produce a list that has only userclasses in certain order.
If my AccessManager looks like this
I would like to have a report that looks like this:
1 1 a
2 11 aa
2 12 ab
1 2 b
2 21 ba
3 211 baa
I tried to count the levels, but this object thing confuses me. It doesn't work like I think it would. Code (only sub part) is below.
Sub Get_Users_List( UserClass As Object, Level as Integer)
Dim I As Integer
Dim J as Integer
Print #1, UserClass.Parent & ";" & UserClass.Name & Level
If UserClass.UserClasses.Count >= 0 Then
For I = 1 To UserClass.UserClasses.Count
Level = Level + 1
Call Get_Users_List(UserClass.UserClasses(I), Level)
Level = 0
This topic has been locked.
1 reply Latest Post - 2009-11-12T14:18:18Z by Mark_G
Pinned topic How to get a list of userclasses that are in AccessManager? Not users!
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2009-11-12T14:18:18Z at 2009-11-12T14:18:18Z by Mark_G