Re: liveuser: what's the best way to get the perm_user_id of the currentuser?

From: Date: Fri, 06 Jan 2006 09:18:07 +0000
Subject: Re: liveuser: what's the best way to get the perm_user_id of the currentuser?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22452@lists.php.net to get a copy of this message
Lukas Smith wrote:
Jeroen Houben wrote:
Hi, What's the best way to get the perm_user_id of the current user? I need this if I want to have my users change their password.
current authenticated user? $LU->getProperty('perm_user_id');
Ah thanks, I knew there was a simple way, I was going through liveuser_admin to get that value! Is there a way to detect through which auth container a user is authenticated? I would need to know this for both currently authenticated users and non-authenticated users. Lastly, I would like to be able to check/verify a user's password without logging him in, is that possible too? Jeroen

« previous php.pear.general (#22452) next »