[horde] Get groups from users and permisions.

Jan Schneider jan at horde.org
Wed May 25 00:33:43 PDT 2005


Zitat von Carlos Maldonado <carlos.maldonado at aquiline.es>:

> I need to do hook despues of login.
> With this hook I need to obtain the groups and permissions of the
> connected user, and then pass some session to a homemade application in
> function of its permissions.

To retrieve the user's groups, you use Group::getGroupMemberships(), to 
retrieve his permissions use Perms::getPermissions().

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list