UPN - 用户主体名称

发布于 2024-07-30 11:51:33 字数 69 浏览 2 评论 0原文

如何从 Active Directory 获取我的 UPN? 我需要测试一个使用 Upn Claim 类型的应用程序...

How I get my UPN from Active Directory? I need to test an app which uses Upn Claim type...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

秋风の叶未落 2024-08-06 11:51:33

这个命令应该可以工作。

C:> whoami /upn

whoami.exe 命令随 Windows Vista 及更高版本一起提供,但对于 XP 上的用户,您可以将其作为 XP 支持工具的一部分下载 此处

This command should work.

C:> whoami /upn

The whoami.exe command comes with Windows Vista and later, but for those on XP you can download it as part of the XP Support Tools here.

肤浅与狂妄 2024-08-06 11:51:33

如果您在 Active Directory 中拥有管理权限,则可以运行 Active Directory 用户和计算机并查看“用户属性”窗口的“帐户”选项卡,并查看它是用户登录名和域后缀的组合(列出的第一个) 。

If you have administrative rights in Active Directory, you can run Active Directory Users and Computers and look at the Account tab of the User Properties window and see it with it being a combination of the User logon name and the domain suffix (first one listed).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文