public void AddUser(MOG_User user, string privileges) { if (FindUser(user.GetUserName()) == null) { if (mProject != null) { mProject.UserAdd(user); } mPrivileges.SetUserGroup(user.GetUserName(), privileges); lvUsers.Items.Add(CreateListViewItem(user, privileges)); } }