Share via


VersionControlServer.AuthorizedUser 属性

获取授权使用指定的服务器的用户。

命名空间:  Microsoft.TeamFoundation.VersionControl.Client
程序集:  Microsoft.TeamFoundation.VersionControl.Client(在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

语法

声明
Public ReadOnly Property AuthorizedUser As String
public string AuthorizedUser { get; }

属性值

类型:System.String
使用才能访问的用户名指定的储存库。

备注

如果用户名指定为命令行参数、环境变量等,值将返回。如果使用默认凭据值,请验证与服务器获得的用户凭据用户的标识。

.NET Framework 安全性

请参见

参考

VersionControlServer 类

Microsoft.TeamFoundation.VersionControl.Client 命名空间