Add support for retrieving current process user ID (UID) #59860
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
library-io
type-enhancement
A request for a change that isn't a bug
Currently, we have the
pid
property in thedart:io
library, which allows retrieving the current process ID. However, there is no built-in method or property to fetch the User ID (UID) of the current user running the Dart program.Adding support for a
uid
property or method would make it easier to retrieve the current user's UID directly in Dart without relying on platform-specific code or external commands.The text was updated successfully, but these errors were encountered: