[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: test through java

>     basically i want to get the user name of the real u-id of the process

	If u want the username only u can use the system property
variables. ie

	String name = System.getProperty("user.name");

	The syntex may not be correct as I touched java1.0 2 yrs back but
there is somethig like this which existed in 1.0 No ideas's about 1.1/1.2.
There were many other properties. But IMO uid might not be there. Afterall
its Platfrom independent :(  Moreover I do not know if it will give the
username of ruid or euid
	Bye and EnjoyLife....


#!!!	If anything can go wrong, _FIX_ it. (To hell with MURPHY)
						Ajay kumar Dwivedi