logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Progress: msg#00080

Subject: Re: Progress
Arnaud Limbourg wrote:

This didn't work for me, but $_SESSION['liveUserData']['auth']['authUserId'] did. In fact, I didn't even find the getUserId() function in LiveUser. Is it in another object?

Mm, in fact i'm not sure there is such a method, I know I added one in my custom version of LU.

Accessing the session variable is not a good idea. You can use the public variable permUserId and/or authUserId of the liveuser object, it's cleaner and should be faster too (no need to read from the disk :)

$user->getProperty('authUserId') should do the trick.

CU
 Markus



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>