Re: checkRight function on the LiveUser object

"Jan Bolmeson" <[email protected]>
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Update :: I only logged in with the admin user earlier. Here are all the
results for the other users as well. 

//jan

Result for admin:
---------------------------------------------------------------------
$LU->getProperty('rights'):
array(0) { } 
---------------------------------------------------------------------
$LU->getProperty('groupRights'):
NULL 
---------------------------------------------------------------------
$LU->getProperty('groupIds'):
array(0) { } 
---------------------------------------------------------------------
$LU->getProperty('userRights'):
NULL 
end madwax test


Result for userA:
---------------------------------------------------------------------
$LU->getProperty('rights'):
array(1) { [1]=> string(1) "3" } 
---------------------------------------------------------------------
$LU->getProperty('groupRights'):
NULL 
---------------------------------------------------------------------
$LU->getProperty('groupIds'):
array(0) { } 
---------------------------------------------------------------------
$LU->getProperty('userRights'):
array(1) { [1]=> string(1) "3" } 
end madwax test



Result for userB:
---------------------------------------------------------------------
$LU->getProperty('rights'):
array(2) { [1]=> string(1) "3" [2]=> string(1) "3" } 
---------------------------------------------------------------------
$LU->getProperty('groupRights'):
NULL 
---------------------------------------------------------------------
$LU->getProperty('groupIds'):
array(0) { } 
---------------------------------------------------------------------
$LU->getProperty('userRights'):
array(2) { [1]=> string(1) "3" [2]=> string(1) "3" } 
end madwax test


Result for userC:
---------------------------------------------------------------------
$LU->getProperty('rights'):
array(3) { [1]=> string(1) "3" [2]=> string(1) "3" [3]=> string(1) "3" } 
---------------------------------------------------------------------
$LU->getProperty('groupRights'):
NULL 
---------------------------------------------------------------------
$LU->getProperty('groupIds'):
array(0) { } 
---------------------------------------------------------------------
$LU->getProperty('userRights'):
array(3) { [1]=> string(1) "3" [2]=> string(1) "3" [3]=> string(1) "3" } 
end madwax test


//jan
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.