다음을 통해 공유


UserInfo.PreferredName Property

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.

See Also

Reference

UserInfo Class

UserInfo Members

Microsoft.Office.Server.Audience Namespace