UPN - 用户主体名称
如何从 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这个命令应该可以工作。
whoami.exe 命令随 Windows Vista 及更高版本一起提供,但对于 XP 上的用户,您可以将其作为 XP 支持工具的一部分下载 此处。
This command should work.
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.
如果您在 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).