Stephan Elsner wrote:
You can get the groups user belongs to by doing
[code]

Sorry, doesn't work.
I get 'Access denied' when I print out mgd_errstr(
I also tried to pass the user id to mgd_list_memberships (as described in
the manual) instead of the whole user object.
No difference.

Thse functions never take the whole object, just the ID. As for access denied, this is strange, authenticated person should always be able to list his own memberships. What does

$person=mgd_get_person($midgard->user);
echo "<pre>\n";
print_r($person);
echo "</pre>\n";

Say ?

/Rambo


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to