/// <summary> /// 取得員工身分名稱 /// </summary> public string GetRoleNameOfEmp(string empAccount) { string roleName = ""; using (EmployeeAuthorityDataAccess empAuthDao = new EmployeeAuthorityDataAccess()) { roleName = empAuthDao.GetRoleNameOfEmp(empAccount); dbErrMsg = empAuthDao.GetErrMsg(); } return(roleName); }