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

From: Date: Fri, 06 Jan 2006 09:23:01 +0000
Subject: Re: liveuser: what's the best way to get the perm_user_id of the currentuser?
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22453@lists.php.net to get a copy of this message
Jeroen Houben wrote:
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.
$LU->getProperty('containerName'); for non authenticated users you would need to use LiveUser_Admin
Lastly, I would like to be able to check/verify a user's password without logging him in, is that possible too?
You would also have to use LiveUser_Admin. In order to encrypt the password to place it in the filter you would use LUA->auth->encryptPW($plainPW); regards, Lukas

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