UserInfo.PreferredName Property
Gets the preferred name for the current user.
Namespace: Microsoft.Office.Server.Audience
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public ReadOnly Property PreferredName As String
Get
'Usage
Dim instance As UserInfo
Dim value As String
value = instance.PreferredName
public string PreferredName { get; }
Property Value
Type: System.String
String that represents the preferred name for the user
Remarks
The PreferredName property is read-only.