get https://api.authing.cn/api/v3/get-user
可选获取用户的 Identities 数组、自定义数据、所在部门 ID 列表。
Log in to see full request history
Responses
可选获取用户的 Identities 数组、自定义数据、所在部门 ID 列表。
xxxxxxxxxx
16import { ManagementClient } from 'authing-node-sdk';
// 在 Node.js 中引用:
// const { ManagementClient } = require('authing-node-sdk');
const managementClient = new ManagementClient({
accessKeyId: 'AUTHING_USERPOOL_ID',
accessKeySecret: 'AUTHING_USERPOOL_SECRET',
});
(async () => {
const { data } = await managementClient.getUser({
userId: "xxx",
withCustomData: true
})
})();
Try It!
to start a request and see the response here! Or choose an example: