Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getuid / getgid in Java?

807600Jun 3 2007 — edited Aug 18 2007
Hi, I am developing a Java program in Linux. I need to obtain the User ID (uid) and Group ID (gid) running the program. This is easy to do with the getuid() and getgid() calls in a C program. How do you do this in Java SE?

Thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 15 2007
Added on Jun 3 2007
5 comments
396 views