Re: checkRight function on the LiveUser object

Lukas Smith <[email protected]>
Newsgroups gmane.comp.php.pear.liveuser
Organization BackendMedia GbR
Message-ID <[email protected]>
Jan Bolmeson wrote:
> What do you mean by running the updateProperty() - how does that function
> relate to groupRights? I have also tried to destroy the object (both client
> and admin) and then created it again (in order to try to "flush" the
> container) but it doesn't seem to work... :(

the updateProperty() method reloads all user data from the original 
source, since any client instance doesnt know whats going on inside the 
admin API. however creating a new client instance for the user should 
serve the same purpose.

IIRC example 4 makes use of groups rights and i think it worked when i 
tried it the other day ..

could you give the output of

$LU->getProperty('rights');
$LU->getProperty('groupRights');
$LU->getProperty('groupIds');
$LU->getProperty('userRights');

regards,
Lukas

-- 
Lukas Smith
[email protected]
_______________________________
   BackendMedia
   www.backendmedia.com
   [email protected]

   Linn Zwoch Smith GbR
   Pariser Str. 44
   D-10707 Berlin

   Tel +49 30 83 22 50 00
   Fax +49 30 83 22 50 07
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.