MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
MgSite Class Reference

The Site Service contains one class, MgSite. More...

+ Inheritance diagram for MgSite:

List of all members.

Public Member Functions

STRING CreateSession ()
 Creates a session repository for the current user.
void DestroySession (CREFSTRING session)
 Destroys the specified session and discards any resources stored in the session repository.
MgByteReaderEnumerateGroups ()
 Gets a list of available groups.
MgByteReaderEnumerateGroups (CREFSTRING user)
 Gets the list of group memberships for a user.
MgStringCollectionEnumerateRoles (CREFSTRING user)
 Gets a list of roles for a user.
MgByteReaderEnumerateUsers (CREFSTRING group)
 Gets a list of users.
STRING GetCurrentSession ()
 Gets the current session identifier.
INT32 GetSessionTimeout ()
 Gets the session time out value.
STRING GetUserForSession ()
 Gets the user for the current session identifier. An exception will be thrown if the session is invalid or does not exist.

Detailed Description

The Site Service contains one class, MgSite.

Remarks:
The MgSite class contains methods which allow access to basic site-related functionality:
  • Enumerate users
  • Enumerate groups
  • Create and destroy user sessions