From: Richard S. <ri...@ri...> - 2003-05-30 18:16:11
|
Great! Is there a function for returning the users' id that was just created as well? On Friday, May 30, 2003, at 08:55 AM, Matthew McNaney wrote: > Use this instead: > > $user = new PHPWS_User; > $user->setUsername($username); > $user->setPassword($password); // do not hash it > $user->setEmail($email); > $user->setAdmin(TRUE); // or FALSE > $user->setDeity(TRUE); // or FALSE > $user->save(); > > > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Appalachian State University > Phone: 828-262-6493 > phpwebsite.appstate.edu > ess.appstate.edu > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > |