As this relevant Stack Overflow question revision demonstrates, calling $USER
inside a terminal (like Termux) provides a username like u0_a272
. However, every application developer I've spoken to about this who was able to discuss this informed me that that value differs for each application, and the AOSP documentation appears to corroborate this.
Consequently, should I consider the u0
section as the user identifier, and the _.*
section as the identifier for the application, or is an entirely different method utilized to refer to a user?