Get email and display name from alias in Visual Studio Team Services

柔情痞子 提交于 2019-12-07 07:40:23

Yes, you can get it via Accounts and profiles in VSTS Rest API, the "Accounts" can get the accounts in the collection and the "Profiles" can get the information like Display Name, Email address for the member.

One thing you need to notice is that, to call "Accounts and profiles" API, you must use OAuth2.0 authentication.

Q: Can I use basic auth with the profiles API?

A: No, you must use OAuth.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!