getuid / getgid in Java?
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,