Re: get users with groups to which they are added
Lukas Smith <[email protected]>
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Organization | BackendMedia GbR |
| Message-ID | <[email protected]> |
Tim Daeleman wrote:
> Hi,
>
> Another question which is maybe a bit dumm. But I just can't figure out
> how to do the following in an efficient way.
>
> I'd love to get a list (array) with all users inclusive the groups to
> which they belong, preferrably by calling just one method
> (LiveUser_Admin->perm->getUsers/getGroups) and supplying the right
> parameters.
I recently improved this in CVS, but it should aready work for what you
in the last release ..
$params = array(
'with' => array(
'group_id' => array(),
)
)
$lu_admin->perm->getUsers($params);
should sort of work .. but i am just typing this form memory ..
regards,
Lukas
PS: i am in cancun right now ..
--
Lukas Smith
[email protected]
_______________________________
BackendMedia
www.backendmedia.com
[email protected]
Linn Zwoch Smith GbR
Pariser Str. 44
D-10707 Berlin
Tel +49 30 83 22 50 00
Fax +49 30 83 22 50 07