AcMapOSEObject::WhoHasIt function

Land Desktop Development ARX CPP SDK

 

AcMapOSEObject::WhoHasIt

Gets information about the user who has this object in their EditSet.
 

bool

WhoHasIt(

unsigned long & UserId,

std::string & strNtUser,

std::string & strDbUser,

std::string & strMapUser,

std::string & strComputer,

std::string & strLoginTime);

Returns True if successful.

UserId Owner's user ID.
strNtUser Owner's NT user name.
strDbUser Owner's Oracle user name.
strMapUser Owner's AutoCAD Map user name.
strComputer Owner's computer name.
strLoginTime Owner's log in time.

If this user cannot add an object to their EditSet, it may be in someone else's EditSet. WhoHasIt() gets information about the object's owner.