Web API Reference MapGuide Open Source
STRING MgSite::GetUserForSession (  ) 

Gets the user for the current session identifier. An exception will be thrown if the session is invalid or does not exist.

.NET Syntax
string GetUserForSession();
Java Syntax
String GetUserForSession();
PHP Syntax
string GetUserForSession();

Returns:
If a session has been created, it returns the userid for the user.
Exceptions:
MgInvalidArgumentException 
See also:
GetCurrentSession

CreateSession


Comments or suggestions? Send us feedback.