How to auto-capture member ID in a form submission?

I want this page to function like a shared google drive folder for individual members, where a member logs in and can see documents the members uploaded and admin uploaded for that specific member.

In the “add” form (aka. uploading), how can I automatically capture the member ID from the logged in member into the “form submission” database based?