P
peter71wallin
Hello,
We have a group named 'MyGroup'. In this group, other groups have been
added.
For example, the group 'UsersGroup' is a member of 'MyGroup'. The user
'MyUser'
is a member of 'UsersGroup'.
Now, I want to decide programatically whether the user 'MyUser' is a
member of 'MyGroup'.
The problem lies in that the user 'MyUser' is not directly a member of
'MyGroup. He is a member of 'UsersGroup', which in its turn is a member
of 'MyGroup'. So, the user is indirectly in the group 'MyGroup'.
How I do this? Please, enclose some code.
Thank you in advance, Peter Wallin
We have a group named 'MyGroup'. In this group, other groups have been
added.
For example, the group 'UsersGroup' is a member of 'MyGroup'. The user
'MyUser'
is a member of 'UsersGroup'.
Now, I want to decide programatically whether the user 'MyUser' is a
member of 'MyGroup'.
The problem lies in that the user 'MyUser' is not directly a member of
'MyGroup. He is a member of 'UsersGroup', which in its turn is a member
of 'MyGroup'. So, the user is indirectly in the group 'MyGroup'.
How I do this? Please, enclose some code.
Thank you in advance, Peter Wallin