getUserMailDisplay
Versionshinweise | 24.4 |
---|
Code
String getUserMailDisplay(IEmployeeSyncUser employeeSyncUser)
Beschreibung
Liest den Anzeigenamen der Haupt-E-Mail-Adresse aus dem IEmployeeSyncUser
Parameter
employeeSyncUser
- Das IEmployeeSyncUser Objekt
Rückgabe
Der Anzeigenamen der Haupt-E-Mail-Adresse
Beispiele
List<IEmployeeSyncUser> syncUsers = EmployeeSyncUtils.getUsers();
List<String> userMailDisplays = new ArrayList<>();
for(IEmployeeSyncUser syncUser : syncUsers)
{
userMailDisplays.add(EmployeeSyncUtils.getUserMailDisplay(syncUser));
}
ScriptUtils.debug("All userMailDisplays: " + userMailDisplays);