MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends

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:
MgConnectionNotOpenExceptionif connection has not been opened