AcMapResourceService::ChangeResourceOwner Method

Autodesk GIS Map Platform

AcMapResourceService:: ChangeResourceOwner Method

Changes the owner of a resource.

virtual void ChangeResourceOwner(
    MgResourceIdentifier* resource, 
    string owner, 
    bool includeDescendants
);
Parameters 
Description 
resource 
The identifier of the resource to be changed owner. 
owner 
The User ID of the new owner.  
includeDescendants 
Flag to determine whether or not the owners of descendant resources should be also be changed.  
Remarks

This method is not supported in AutoCAD Map 3D and will always throw MgNotImplementedException.

MgXX classes belong to the OsGeo.MapGuide namespace and are descibed in the Geospatial Platform Reference.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].