Class Secur32Util


  • public abstract class Secur32Util
    extends Object
    Secur32 Utility API.
    Author:
    dblock[at]dblock.org
    • Constructor Detail

      • Secur32Util

        public Secur32Util()
    • Method Detail

      • getUserNameEx

        public static String getUserNameEx​(int format)
        Retrieves 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.
      • getSecurityPackages

        public static Secur32Util.SecurityPackage[] getSecurityPackages()
        Get the security packages installed on the current computer.
        Returns:
        An array of SSPI security packages.