Using MOIDs on the IBM Director Server

On the IBM Director Server, the TWGManagedObject class is used to represent a Managed Object. You will normally use a MOID find the Managed Object. The code would look something like this:

long moid
.
.
.
TWGManagedObject mo = (TWGManagedObject) TWGObject.FindObject( moid );

Once you have access to the TWGManagedObject, you can use twh public methods of TWGManagedObject to access information about the ManagedObject. Some usefuile methods are: