I did this to help out on the CiviCRM Forum.
It should show the logged in user any events they are registered for.
The ingredients for the view recipe are (in short)
- View of type 'CiviCRM Participant'
- View Relationships of type CiviCRM Contacts: Drupal ID (which connects the Participant to the Drupal User)
- CiviCRM Drupal match table: Drupal User ID set with Default value as User ID from logged in User (which filters results to logged in user)
- garnished with whatever Event fields you require eg Title, Start Date, Event ID.
NB to import a View you must be user1 or masquerade as Admin.
File