use of com.haulmont.cuba.security.app.UserSettingService in project cuba by cuba-platform.
the class CopySettings method copySettings.
protected void copySettings() {
UserSettingService settingsService = AppBeans.get(UserSettingService.NAME);
User fromUser = usersDs.getItem();
for (User user : users) {
if (!user.equals(fromUser)) {
settingsService.copySettings(fromUser, user);
}
}
close("ok");
}
Aggregations