Re: [LiveUser] is it possible to specify a specific users auth ID ?
| From: | Stephane GULLY | Date: | Tue, 16 Mar 2004 20:55:22 +0000 |
| Subject: | Re: [LiveUser] is it possible to specify a specific users auth ID ? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11330@lists.php.net to get a copy of this message | ||
Stephane GULLY wrote:
Hi, I've another question : Is it possible to specify a specific user id with LiveUser_Admin_Auth_Container_DB::addUser() ? Another solution could be to change this id after creating a user. How to do that ? Stephane I found the solution$myid = 50; $objRightsAdminAuth = new LiveUser_Admin_Auth_Container_DB( ... ); $objRightsAdminAuth->addUser('login', 'password', true, null, null, $myid );