phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] phpgw_info - Groups


From: Dave Hall
Subject: Re: [Phpgroupware-developers] phpgw_info - Groups
Date: Mon, 31 Oct 2005 15:42:51 +1100

On Mon, 2005-10-31 at 01:08 -0200, Mauricio wrote:
> Hi,
> 
> I can't find a way to get the groups of a user. This index doesn't exist:
> 
> $GLOBALS['phpgw_info']['user']['groups'] = Groups the user is a member of
> 
> I was looking for it at DB too, without success...

Check phpgwapi/inc/class.accounts*.php 

The methods are available though $GLOBALS['phpgw']->accounts

In the db look at phpgw_acl app = phpgwapi, location = phpgw_group iirc 


Cheers

Dave





reply via email to

[Prev in Thread] Current Thread [Next in Thread]