public CmsUser saveAdmin(String username, String email, String password,
String ip, boolean viewOnly, boolean selfAdmin, int rank,
Integer groupId, Integer[] roleIds, Integer[] channelIds,
Integer[] siteIds, Byte[] steps, Boolean[] allChannels,
CmsUserExt userExt) {
UnifiedUser unifiedUser = unifiedUserMng.save(username, email,
password, ip);
CmsUser user = new CmsUser();
user.forAdmin(unifiedUser, viewOnly, selfAdmin, rank);
CmsGroup group = null;
if (groupId != null) {