// 判断是否是用户并获取用户名 protected string GetUserName(string userId, string groupPath) { string userName = iniTool.IniReadValue(groupPath, userInfoIni, userId, "角色名"); if (userName != "") { return(userName); } return(""); }