Obtaining windows user credentials


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Obtaining windows user credentials

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    1

    Obtaining windows user credentials

    Hi everybody,

    I want to know how windows user credentials can be obtained from java code i.e. username as well as password?
    is it possible? please let me know how it can be done.
    if there exists some tutorial related to this, please also send me the link to that tutorial.

    Thanks

  2. #2
    Join Date
    Oct 2005
    Posts
    22
    I am unable to understand what you want.So Can please explain your question?

    Thanks
    G.rajasekhar

  3. #3
    Join Date
    Oct 2005
    Posts
    17
    I'm not sure you can get password but for the username use following;

  4. #4
    Join Date
    Oct 2005
    Posts
    17
    I'm not sure you can get password but for the username use following;

    Code:
    System.getProperty("user.name");
    There are other system properties. You better check it out on Java Tutorial.


    Hope this helps!

    Regards;
    Stephen

Similar Threads

  1. .Net... the saga...
    By Jason Sobell \(iGadget\) in forum .NET
    Replies: 99
    Last Post: 10-01-2003, 01:00 AM
  2. Adding user control to Windows App.
    By Mike in forum .NET
    Replies: 0
    Last Post: 05-01-2003, 01:14 PM
  3. Script for scrolling
    By Mark in forum Web
    Replies: 3
    Last Post: 08-30-2001, 12:45 PM
  4. Replies: 4
    Last Post: 02-03-2001, 11:52 AM
  5. Replies: 0
    Last Post: 01-29-2001, 12:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center