Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the preferred name for the current user.
Namespace: Microsoft.Office.Server.Audience
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.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.