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.
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