Article View: borland.public.jbuilder.java.api
Article #2458Re: UserID from Operating System
From: Joi Ellis [TeamB]
Date: Tue, 05 Dec 2000 00:00
Date: Tue, 05 Dec 2000 00:00
15 lines
919 bytes
919 bytes
Keith Kuzujanakis <kuzujanakis@netscape.net> wrote:
> How can I get the UserID of the user that is logged into the OS with
> java?
> Thanks,
> Keith
I think this is System.getProperty("user.name") but check the docs.
How/if this actually works is platform dependent.
--
Joi Ellis (TeamB)
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Technical Details
Message-ID:
<90j51p$3dn10@bornews.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3A2CF88A.564E0DBD@netscape.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,784b4491fbdbfc17
X-Google-Attributes: gid1089d0,public
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: UserID from Operating System
Date: 2000/12/05
Message-ID: <90j51p$3dn10@bornews.inprise.com>
X-Deja-AN: 701406240
References: <3A2CF88A.564E0DBD@netscape.net>
Organization: Another Netscape Collabra Server User
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.14-5.0 (i686))
Newsgroups: borland.public.jbuilder.java.api