private void GetGroupData() { string strError = string.Empty; List <UserGroupInfo> lstGroup = new List <UserGroupInfo>(); if (Basic_Func.GetUserGroupListByUser(ref lstGroup, _user, true, ref strError)) { _user.lstUserGroup = lstGroup; } else { Common_Func.ErrorMessage(strError, "获取用户组失败"); return; } SetGroupData(); }