MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
void MgSiteConnection::Open ( MgUserInformation userInformation)

Establishes a connection to a site.

.NET Syntax
void Open(MgUserInformation userInformation);
Java Syntax
void Open(MgUserInformation userInformation);
PHP Syntax
void Open(MgUserInformation userInformation);
Parameters:
userInformation(MgUserInformation) User information to authenticate against. Can either be username/password or session identifier. User information also contains client locale. See MgUserInformation for details.
Returns:
Nothing
Exceptions:
MgAuthenticationFailedExceptionif user information was not supplied
MgConfigurationExceptionif configuration information could not be loaded
MgUnauthorizedAccessExceptionif user is not authorized for site
MgConnectionFailedExceptionif site cannot be connected to