[mapguide-dev] user-related functions in the API

Trevor Wekel trevor.wekel at autodesk.com
Thu Oct 5 14:26:40 EDT 2006


Hi Paul,

Here's a followup on Steve's message:

The MgServerAdmin object is an undocumented API that we use to
administer users and groups.  The C++ header file contains some
documentation:

1.0.x branch: MgDev/Common/Service/Services/ServerAdmin.h
Trunk:  MgDev/Common/MapGuideCommon/Services/ServerAdmin.h

We chose not document MgServerAdmin because it may change significantly
from release to release.  Documented APIs, declared as PUBLISHED_API in
the C++ headers, are intended to be fully supported from release to
release.  This means documented APIs should maintain backward
compatibilily with previous releases.  Since MgServerAdmin could change,
it would be inappropriate to give the assurance through documentation
that it is  a stable API.

MgServerAdmin can be used since it is exported as EXTERNAL_API.
However, there may be significant changes to the API and possibly
changes to permissions model if/when we implement LDAP support.

Thanks,
Trevor


-----Original Message-----
From: Paul Spencer (External) 
Sent: Thursday, October 05, 2006 12:03 PM
To: dev at mapguide.osgeo.org
Subject: [mapguide-dev] user-related functions in the API

Does the API contain functions for creating and managing users, groups
and roles?  The mapadmin tool seems to use functions like AddUser but
these functions don't seem to be documented anywhere.

Also, are there any functions in the API for determining if a given user
has read and/or write access to a given resource id without having to
actually get and parse the headers of all the resources involved (in the
case of inherited permissions).

Cheers

Paul

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Chief Technology Officer                                         |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: dev-help at mapguide.osgeo.org






More information about the Mapguide_dev mailing list