ITeamFoundationIdentityService.SetCustomDisplayName 方法

设置或移除自定义显示名称。该调用的用户。

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

语法

声明
Sub SetCustomDisplayName ( _
    requestContext As TeamFoundationRequestContext, _
    customDisplayName As String _
)
void SetCustomDisplayName(
    TeamFoundationRequestContext requestContext,
    string customDisplayName
)

参数

  • customDisplayName
    类型:System.String
    自定义显示名称。使用 null 或为空字符串清除自定义显示名称。

备注

设置自定义显示名称重写该提供程序提供的所有显示名称 (AD、internet 提供程序与活动等)。

.NET Framework 安全性

请参阅

参考

ITeamFoundationIdentityService 接口

Microsoft.TeamFoundation.Server.Core 命名空间