How to find out UID of Active Directory user?

Solution 1:

It's just an AD attribute, uidNumber.

For example, with PowerShell:

Get-ADUser john.doe -Properties * | select SamAccountName,uidNumber

Of course you can also just use the UI.