java.lang.Object
waffle.windows.auth.impl.WindowsAccountImpl
-
Constructor Summary
ConstructorsConstructorDescriptionWindowsAccountImpl(com.sun.jna.platform.win32.Advapi32Util.Account newAccount) Windows Account.WindowsAccountImpl(String userName) Windows Account.WindowsAccountImpl(String accountName, String systemName) Windows Account. -
Method Summary
-
Constructor Details
-
WindowsAccountImpl
public WindowsAccountImpl(com.sun.jna.platform.win32.Advapi32Util.Account newAccount) Windows Account.- Parameters:
newAccount- Account.
-
WindowsAccountImpl
Windows Account.- Parameters:
userName- Fully qualified username.
-
WindowsAccountImpl
-
-
Method Details
-
getCurrentUsername
Get the SAM-compatible username of the currently logged-on user.- Returns:
- String.
-
getDomain
Account domain.- Specified by:
getDomainin interfaceIWindowsAccount- Returns:
- String.
-
getFqn
Description copied from interface:IWindowsAccountFully qualified username.- Specified by:
getFqnin interfaceIWindowsAccount- Returns:
- String.
-
getName
Account name.- Specified by:
getNamein interfaceIWindowsAccount- Returns:
- String.
-
getSidString
Description copied from interface:IWindowsAccountSecurity identifier.- Specified by:
getSidStringin interfaceIWindowsAccount- Returns:
- String in the S- format.
-