Google Apps Security and Compliance Services Web Services Bedienungsanleitung Seite 34

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 70
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 33
32 Message Security and Compliance Application Programming Interface Guide RELEASE EA version 1.5
//Get the child records.
qpOrgArgs.setChildorgs("Yes");
// Make our call and retrieve a list of orgRecords.
AutomatedBatchAPI.OrgRecord[] orgs =
automatedBatchPort.listorgs(authCredentials,"ALL",qpOrgArgs);
// Display information for each org.
for (int orgCount = 0; orgCount < orgs.length; orgCount++) {
String orgName =
orgs[orgCount].getOrgname();System.out.println("Found org " +
orgName);
}
} catch ( EndpointResolverAPI.UnknownEmailException ex ) {
System.err.println("Auth email specified is not located in postini "
+ ex);
System.exit(255);
} catch ( AutomatedBatchAPI.BatchException ex ) {
System.err.println("Unexpected batch error " + ex );
System.exit(255);
} catch ( Exception ex ) {
System.err.println("Unexpected exception while processing API
command! " + ex);
System.exit(255);
}
Seitenansicht 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 69 70

Kommentare zu diesen Handbüchern

Keine Kommentare