如何在TFS Api中获得Azure活动目录用户

时间:2018-11-14 08:24:37

标签: tfs azure-devops azure-active-directory

我正在使用以下代码:

IIdentityManagementService idMana = (IIdentityManagementService)server.GetService(typeof(IIdentityManagementService));

TeamFoundationIdentity[][] projectIdentities1 = idMana.ReadIdentities(IdentitySearchFactor.DisplayName, new []{"dev"}, MembershipQuery.Expanded, ReadIdentityOptions.ExtendedProperties);

I do not get its members, as highlighted in image

Azure DevOps Security tab (I would like to get this information)

0 个答案:

没有答案