[mapguide-users] User re-authentication

web web at infogeo.ch
Wed Aug 27 13:10:54 EDT 2008


Thank you Kenneth 4 those Hints,
I've tried like you said:

$userInformation = new MgUserInformation($sessionId);
$siteConnection = new MgSiteConnection();
$siteConnection->Open($userInformation);
$site = $siteConnection->GetSite();
$user = $site->GetUserForSession();
echo("user".$user);

It works fine!
This is as I know relatively knew in the API (GetUserForSession), I wondering it was implemented, but wasn't sure.

I'll take my widget further that with and will let you know (and the community) if you are interressed to try it.

Thanks once again a lot!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080827/47532600/attachment.html


More information about the mapguide-users mailing list