getuid / getgid in Java?
807600Jun 3 2007 — edited Aug 18 2007Hi, 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,