Home > Back-end >  How to get the client's current domain login user name and password?
How to get the client's current domain login user name and password?

Time:12-05

Users in the domain login after opening the Windows system website to get the domain login user and password for validation

CodePudding user response:

System. The out. Println (System. GetProperty (" the user. The name "));

CodePudding user response:

List all the key
The Properties of prop=System. The getProperties ();
For (Object propName: prop keySet ()) {
System. The out. Println (" propName: "+ propName);
}

CodePudding user response:

The above methods can be used

CodePudding user response:

Can only get the user name, don't get the password
  • Related