Skip to main content
Skip table of contents

getUserSamAccountName

Versionshinweise

24.4

Code

CODE
String getUserSamAccountName(IEmployeeSyncUser employeeSyncUser)

Beschreibung

Liest den SAM Account Namen aus dem IEmployeeSyncUser

Parameter

  • employeeSyncUser - Das IEmployeeSyncUser Objekt

Rückgabe

Der SAM Account Namen als String

Beispiele

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

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

If this problem persists, please contact our support.