标签: javascript node.js express active-directory
我正在尝试使用Node.js从活动目录中登录用户名。这是我的代码:
var username = require("username"); username().then((name) => { console.log(name); // but this name is server username not client I need client username });