Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Full name of the identity for display purposes. The display name can come from the identity provider (Active Directory, ACS) or may have been set as a custom display name within TFS.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Property DisplayName As String
public string DisplayName { get; set; }
public:
property String^ DisplayName {
String^ get ();
void set (String^ value);
}
member DisplayName : string with get, set
function get DisplayName () : String
function set DisplayName (value : String)
Property Value
Type: System.String
Remarks
If the identity provider does not supply a full name, and no custom display name is set, another property like account name or e-mail address will be used as the display name.
TFS 2010 servers may return a disambiguated identity, such as "John Smith (CONTOSO\jsmith)". TFS 2012 servers will not disambiguate identities with the same full name in this manner. However a user could set their custom display name to a similiar string.
.NET Framework Security
- 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.