简体中文
getCurrentEmployee
约 205 字小于 1 分钟
2025-12-16
该方法可以获取当前登录用户的相关信息
语法: FxUI.organization.getCurrentEmployee()
示例
const employee = FxUI.organization.getCurrentEmployee();
console.log(employee);返回结果
该方法返回用户信息,示例如下:
{
"uploadFileSizeLimit": 100,
"employeeID": 0000,
"fullName": "",
"gender": "M",
"groupIDs": [
2508
],
"id": 9213,
"isAsterisk": false,
"isStop": false,
"name": "",
"nickName": "",
"post": "",
"profileImage": "",
"spell": "",
"type": "p",
"workingState": "",
"employeeAsteriskIds": [],
"departmentAsteriskIds": [],
"account": "",
"allCompanyPrincipalId": 3,
"companyName": "北京易动纷享科技有限责任公司",
"department": "",
"enterpriseAccount": "fs",
"enterpriseID": 1,
"enterpriseType": 0,
"epTag": "",
"functionPermissions": [],
"inVipService": true,
"isAdmin": false,
"isAllowSetOwnLeader": false,
"isDemoAccount": false,
"isInitialPassword": false,
"isPhoneBound": true,
"mobile": "",
"planTotalCount": 0,
"userAppLauguageConfig": "zh-CN",
"workCircleEnterpriseName": "北京易动纷享科技有限责任公司",
"profileImagePath": "",
"enterpriseId": 1,
"employeeId": 000,
"areaCode": "+86",
"qq": "",
"email": "",
"telephone": "",
"enterpriseName": "北京易动纷享科技有限责任公司",
"allCompanyDefaultString": "全公司",
"isExperience": false,
"mainDepartment": 000,
"departmentIds": [],
"allowExportAddressBook": true,
"roleCodes": [
{
"code": "",
"appId": "facishare-system"
},
],
"language": "zh-CN",
"supportsDST": false,
"translateContentAs": "",
"enterpriseNameMultiLang": "北京易动纷享科技有限责任公司",
"enterpriseShortNameMultiLang": "易动纷享"
}