Web API Reference MapGuide Open Source
MgSite* MgSiteConnection::GetSite (  ) 

Returns an instance of the MgSite object. This object is responsible for user/group management and session management. MgSite exposes functionality to enumerate users and groups and to manage user sessions. The connection must already be open to obtain access to the site.

.NET Syntax
MgSite GetSite();
Java Syntax
MgSite GetSite();
PHP Syntax
MgSite GetSite();

Returns:
Returns a reference to the MgSite object.
Exceptions:
MgConnectionNotOpenException if connection has not been opened


Comments or suggestions? Send us feedback.