Hi Martin, Try the web extensions API methods MgSite.EnumerateUsers and MgSite.AddUser. EnumerateUsers is fully supported. AddUser is export to .Net/PHP/Java but not officially supported. If EnumerateUsers returns the password, you should be all set. You can glean a lot of information from header files...
http://trac.osgeo.org/mapguide/browser/branches/2.1/MgDev/Common/MapGuideCommon/Services/Site.h If you have any group memberships, EnumerateGroups and GrantGroupMembershipsToUsers may also be helpful. EnumerateRoles and GrantRoleMembershipsToUsers will also be helpful if you are making use of multiple roles. I don't know if an MGP export will work correctly with user accounts propagated in this manner. I suspect the export strips out all the permissions. (Shameless plug) If you're not keen on writing all this script, I can give you a quote for it and contribute it back to the community. Ping me be email if you are interested. Thanks, Trevor From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Martin Morrison Sent: December 28, 2009 9:17 AM To: MapGuide Users Mail List Subject: [mapguide-users] Best way to migrate users? What is currently the best way to migrate users and their passwords from MG 2.02 to 2.1? I do not want to copy over the site directories if possible. Martin Morrison Application Engineer Engineering Design Systems, Inc. 3780 Peters Creek Rd Ext SW Roanoke, VA 24018 540-345-1410 gis.edsi.com
_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users