Get all images uploaded to a gallery by a user

Former Member
Former Member

How do I get all the images uploaded to a gallery by a user (including those awaiting moderation)? I am trying out this bit of code in Velocity, but it doesn't seem to work:

#set($imageList = $core_v2_media.List("%{ AuthorId=$user.Id, IncludeUnpublished='True' }"))