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