JXCdoInfoStores ifss = new JXCdoInfoStores(jxCdoSession,jxCdoSession.GetInfoStores());
int count = ifss.GetCount().getObjectAsInt();
System.out.println("There are " + count + " Info Stores");
for(int i=1; i<=count; i++){
JXCdoInfoStore ifs = new JXCdoInfoStore(jxCdoSession,ifss.Item(new JIVariant(new Integer(i).intValue())));
System.out.println("\t Info Store " + i + ": " + ifs.GetName());
}
// get the mailbox root folder
// it is usually the second item in the list of info stores