Partager via


User.LastName Property

 

Gets the last name of the user that is associated with the user account.

Namespace:   Microsoft.WindowsServerSolutions.Users
Assembly:  UserObjectModel (in UserObjectModel.dll)

Syntax

public string LastName { get; }
public:
property String^ LastName {
    String^ get();
}
Public ReadOnly Property LastName As String

Property Value

Type: System.String

A String that contains the last name of the user that is associated with the user account.

See Also

User Class
Microsoft.WindowsServerSolutions.Users Namespace

Return to top