Share via


UserDisplayName Property

The UserDisplayName property of the SPListEvent class gets the display name of the user whose action triggers the event.

Property Value

A string that contains the name of the user.

Remarks

For more information on document library events, see Handling Document Library Events.

Example

The following code example uses the UserDisplayName property to display information within a specified column of a document library list when changes are made to files.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security