# getUserInfo
获取Link指定的用户(userId)信息。
# 输入
继承标准对象输入,扩展属性描述
| 名称 | 数据类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
| userId | string | 是 | 指定用户userId |
# 输出
继承标准对象输出,无扩展属性
# 示例代码
app.link.getUserInfo(function(result){
app.alert(result);
},
function(error){
app.alert(error);
},
'ebdfe3b1-ed9c-425b-aac3-aa6c61d05d0e'
);
success返回对象示例:
{
"loginId": "xxx",
"namePinYin": "xxx",
"orgName": "xxx",
"xxx":"xxx"
}