Hi all,

this problem was posted before
( http://marc.theaimsgroup.com/?l=midgard-user&m=108239314929128&w=2 )
but I did not find an answer to it in the list.
Why does mgd_create_member fail when used by root (= SG0-admin)? 
I tried with the "normal" mgd_create_member() function and
the oo-method, both return an mgd_errstr like "access denied"...

By the way, how does Aegir manage to create new members when I am logged in
as SG0-admin?

just to clarify, here is the code:
<?
$uid = 123; //a person with this id exists in my system
$gid = 456; // same for group
$new_member = mgd_create_member($uid,$gid,'new member');
if(!$new_member) die(mgd_errstr());
?>

desperately looking for an answer,

Alex

PS: i am using midgard 1.5.0 with aegir 1.0.1,
everything else seems to work just fine...

-- 
Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++

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

Reply via email to