Package com.sun.jna.platform.win32
Class Secur32Util
java.lang.Object
com.sun.jna.platform.win32.Secur32Util
Secur32 Utility API.
- Author:
- dblock[at]dblock.org
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Secur32Util.SecurityPackage[]Get the security packages installed on the current computer.static StringgetUserNameEx(int format) Retrieves the name of the user or other security principal associated with the calling thread.
- 
Constructor Details- 
Secur32Utilpublic Secur32Util()
 
- 
- 
Method Details- 
getUserNameExRetrieves the name of the user or other security principal associated with the calling thread.- Parameters:
- format- User name format.
- Returns:
- User name in a given format.
 
- 
getSecurityPackagesGet the security packages installed on the current computer.- Returns:
- An array of SSPI security packages.
 
 
-