Skip to main content
Skip table of contents

getUserEmails

Versionshinweise

24.4

Code

CODE
String getUserEmail(IEmployeeSyncUser employeeSyncUser)

Beschreibung

Liest die E-Mail-Adresse aus dem IEmployeeSyncUser

Parameter

  • employeeSyncUser - Das IEmployeeSyncUser Objekt

Rückgabe

Die E-Mail-Adresse als String

Beispiele

GROOVY
List<IEmployeeSyncUser> syncUsers = EmployeeSyncUtils.getUsers();
List<String> userEmails = new ArrayList<>();
for(IEmployeeSyncUser syncUser : syncUsers)
{
  userEmails.add(EmployeeSyncUtils.getUserEmail(syncUser));
}
ScriptUtils.debug("All userEmails: " + userEmails);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.