UserID Property
The UserID property of the SPListEvent class gets the ID of the user whose action triggered the event.
Property Value
A 32-bit integer that specifies the ID.
Example
The following code example uses the UserID property in an event handler to return the user whose action triggered an event in a document library.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security