The umask is not an attribute of a user; it belongs to a process. A user may run many processes with different umasks.
On the Unix & Linux stack exchange, someone asked Is it possible to get current umask of a process? Normally, one would expect such a thing to be exposed in the /proc
directory of the process, but umask is not exposed anywhere.