Hello
I'm trying to get all the resources a user can access with the links between the user, his user groups , the user resources and the resources.
usergroup1
user1
resourcegroup1
resource1
resource2
resource3
I can get the user group informations with this
$UGROUPSNAME = $modx->user->getUserGroupNames();
$UGROUPSID = $modx->user->getUserGroups();
But I don"t know how to retrieve the resource groups and finally the resources a user is able to see.
Thanks