{"id":19199556,"url":"https://github.com/subconsciouscompute/admin_check","last_synced_at":"2025-05-09T01:22:48.711Z","repository":{"id":162928374,"uuid":"623303306","full_name":"SubconsciousCompute/admin_check","owner":"SubconsciousCompute","description":"Admin access check","archived":false,"fork":false,"pushed_at":"2023-12-30T05:25:15.000Z","size":16,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-20T11:32:00.922Z","etag":null,"topics":["linux","osx","root","rust","windows"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SubconsciousCompute.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-04-04T05:24:05.000Z","updated_at":"2025-04-16T04:24:28.000Z","dependencies_parsed_at":"2023-12-30T06:24:53.627Z","dependency_job_id":"7422247c-b3e9-44e0-8308-43327a696d4f","html_url":"https://github.com/SubconsciousCompute/admin_check","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2Fadmin_check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2Fadmin_check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2Fadmin_check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2Fadmin_check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SubconsciousCompute","download_url":"https://codeload.github.com/SubconsciousCompute/admin_check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253172156,"owners_count":21865472,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linux","osx","root","rust","windows"],"created_at":"2024-11-09T12:27:49.148Z","updated_at":"2025-05-09T01:22:48.675Z","avatar_url":"https://github.com/SubconsciousCompute.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# admin_check\n\nCheck if your program has admin access. \n\n# Supported platforms\n- Windows\n- OS X\n- Linux\n\n## Example\n\n```rust\nuse admin_check::is_elevated;\n\nfn main() {\n    if !is_elevated() {\n        println!(\n            \"Warning: the program isn’t running as elevated; some functionality may not work.\"\n        );\n    } else {\n        println!(\"The program has admin access\");\n    }\n}\n```\n\n## References\n\n- [stackoverflow: How to check if a process has the administrative rights](https://stackoverflow.com/questions/8046097/how-to-check-if-a-process-has-the-administrative-rights)\n- [rust-lang: How do I determine if I have admin rights on Windows](https://users.rust-lang.org/t/how-do-i-determine-if-i-have-admin-rights-on-windows/35710)\n- [yandexx/is_elevated](https://github.com/yandexx/is_elevated)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubconsciouscompute%2Fadmin_check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubconsciouscompute%2Fadmin_check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubconsciouscompute%2Fadmin_check/lists"}