Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for retrieving current process user ID (UID) #59860

Open
samujjal-gogoi opened this issue Jan 8, 2025 · 1 comment
Open

Add support for retrieving current process user ID (UID) #59860

samujjal-gogoi opened this issue Jan 8, 2025 · 1 comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. type-enhancement A request for a change that isn't a bug

Comments

@samujjal-gogoi
Copy link

Currently, we have the pid property in the dart: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.

@dart-github-bot
Copy link
Collaborator

Summary: Users request a dart:io addition: a uid property or method to retrieve the current process's user ID (UID). This avoids platform-specific workarounds.

@dart-github-bot dart-github-bot added area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. type-enhancement A request for a change that isn't a bug labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants