Package com.ferrumx.system.currentuser
Class User
java.lang.Object
com.ferrumx.system.currentuser.User
Retrieves the User Information of the Account logged in to the system
-
Method Details
-
getUsername
Fetches the user-name of the account currently logged in- Returns:
- the user-name in
String
format
-
getHome
Fetches the User directory in the form: "C:/Users/User-Name- Returns:
- the User directory in
String
format
-
getDirectory
Fetches the current working directory.- Returns:
- the current working directory in
String
format
-