Google Apps Security and Compliance Services Web Services Instrukcja Użytkownika Strona 59

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 70
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 58
User Sync API 57
User Sync API ModifyUsers Operation
JAX WS 2.0 Example
JAX-WS 2.0 Example
// AuthElem
AuthElem authElem = new AuthElem();
authElem.setApiKey("*your api key here*");
authElem.setEmail("*your admin user email here*");
authElem.setPword("*your admin password here");
List<NewUserRecord> apiNewUserList = new
ArrayList<NewUserRecord>(0);
NewUserRecord apiNewUser = new NewUserRecord();
apiNewUser.setAddress("test@example.com");
apiNewUser.setOrg("Postini Org");
apiNewUser.setSendWelcomeImmediately(false);
AddressList aliases = new AddressList();
aliases.getAddress().add("myalias@example.com");
apiNewUser.setAliases(aliases);
apiNewUserList.add(apiNewUser);
List<UserAddStatus> apiStatus =
syncPort.addUsers(authElem,addBatch);
Operation
ModifyUsers
Request: ModifyUsers (AuthElem, list of UserRecordPatch)
Response: ModifyUsersResponse holding UserModifyStatus for each user
Przeglądanie stron 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 69 70

Komentarze do niniejszej Instrukcji

Brak uwag