Using MOIDs

You already know that every managed object has a unique number, or MOID, to identify the object within the IBM Director Server and IBM Director Console. When the IBM Director Server or IBM Director Console passes you code information about a managed object, it will usually pass the MOID. Your code will use the MOID to work with the manged object by either

  1. Gathering data about the managed object
  2. Manipulating the managed object

While the MOID for a given managed object is the same on both the IBM Director Server and the IBM Director Console, the techniques for using MOIDs are different depending upon where your code is running. The APIs for working with MOIDs on the IBM Director Console are different than those on the IBM Director Server, so it is important to know where your code is running.

To see details, click on one of the links below:

Where the code runs Types of extension code that run there
IBM Director Console
  • Task frames
IBM Director Server
  • Extension classes
  • Task server for noninteractive Tasks

Also, because the MOID for a given managed object is the same on the IBM Director Console and the IBM Director Server, you can send the MOID back and forth between the IBM Director Console and the IBM Director Server.