This documentation is archived and is not being maintained.
IIdentityManagementService2::SetCustomDisplayName Method
Visual Studio 2013
Sets the display name for the current user in a sticky manner, overriding any display name returned by an external identity provider like Active Directory or Live.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Microsoft Visual Studio Team Foundation Server 2010 automatically disambiguated users who have the same display name by appending the domain and account name. Visual Studio Team Foundation Server 2012 does not disambiguate display names. SetCustomDisplayName can be used instead to make a display name unique.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: