Find uid and gid on Windows for mounted directories

In order to overcome the syncronization of directory permissions between mounted directories, I instruct my Docker container to run its main process with the same user id (uid) as the user who starts the container (which is not root in my case).

So I pass uid and gid as environment variables to my containers in order for them to create a user/group with those values and use them to run their process with (e.g. Nginx).


Now the big question is, how do I find the uid and gid in Windows?