TFS 2013/2015 API问题 - 查询所有分支的GitRepos C# [英] TFS 2013/2015 API Questions- Query GitRepos For All Branches C#

查看:160
本文介绍了TFS 2013/2015 API问题 - 查询所有分支的GitRepos C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,

我正在开发一个C#解决方案,它最终将带我通过每个Git Team Project类型来查询这些团队中的每个repo以获得分支在那些回购。但我没有看到TeamFoundationGitRepositoryService.QueryRepositories
下的任何其他方法到资源管理器。我确实看到了TfsGitRepositoryInfo的返回值,但这几乎没用。

I'm working on a C# solution that will eventually take me through each Git Team Project type to query each repo within those teams to get the branches within those repos. But I don't see any additional methods under TeamFoundationGitRepositoryService.QueryRepositories to explorer. I do see a return value of TfsGitRepositoryInfo but this is nearly useless.

最终我希望获得分配给每个团队成员的权限回购和分支。

Ultimately I want to get the permissions assigned to each team member within the repos and branches.

任何帮助都将非常感谢。

any help would be great appreciated.

问候

推荐答案

您好czofnas001,

Hi czofnas001,

您无法获得每个团队成员的Git回购和分支权限。

You could not get permissions of Git repos and branches for each team member.

您可以使用网络访问Git Repository Security和分行安全性访问:

You could see Git Repository Security and Branch Security using Web Access:

http:// {server}:8080 / tfs / DefaultCollection / {Project} / _admin / _versioncontrol

最好的问候


这篇关于TFS 2013/2015 API问题 - 查询所有分支的GitRepos C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆