getUserEmails
Versionshinweise | 24.4 |
---|
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
List<IEmployeeSyncUser> syncUsers = EmployeeSyncUtils.getUsers();
List<String> userEmails = new ArrayList<>();
for(IEmployeeSyncUser syncUser : syncUsers)
{
userEmails.add(EmployeeSyncUtils.getUserEmail(syncUser));
}
ScriptUtils.debug("All userEmails: " + userEmails);