Class Advapi32Util

java.lang.Object
com.sun.jna.platform.win32.Advapi32Util
oshi.jna.platform.windows.Advapi32Util

public class Advapi32Util
extends com.sun.jna.platform.win32.Advapi32Util
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.sun.jna.platform.win32.Advapi32Util

    com.sun.jna.platform.win32.Advapi32Util.AccessCheckPermission, com.sun.jna.platform.win32.Advapi32Util.Account, com.sun.jna.platform.win32.Advapi32Util.EnumKey, com.sun.jna.platform.win32.Advapi32Util.EventLogIterator, com.sun.jna.platform.win32.Advapi32Util.EventLogRecord, com.sun.jna.platform.win32.Advapi32Util.EventLogType, com.sun.jna.platform.win32.Advapi32Util.InfoKey, com.sun.jna.platform.win32.Advapi32Util.Privilege
  • Constructor Summary

    Constructors 
    Constructor Description
    Advapi32Util()  
  • Method Summary

    Modifier and Type Method Description
    static com.sun.jna.platform.win32.Advapi32Util.Account getTokenPrimaryGroup​(com.sun.jna.platform.win32.WinNT.HANDLE hToken)
    This function returns the primary group associated with a security token, such as a user token.

    Methods inherited from class com.sun.jna.platform.win32.Advapi32Util

    accessCheck, alignOnDWORD, backupEncryptedFile, convertSidToStringSid, convertStringSidToSid, decryptFile, disableEncryption, encryptFile, fileEncryptionStatus, getAccountByName, getAccountByName, getAccountBySid, getAccountBySid, getAccountBySid, getAccountBySid, getAceSize, getCurrentUserGroups, getEnvironmentBlock, getFileSecurity, getFileSecurityDescriptor, getSecurityDescriptorForObject, getTokenAccount, getTokenGroups, getUserName, isWellKnownSid, isWellKnownSid, registryCloseKey, registryCreateKey, registryCreateKey, registryCreateKey, registryCreateKey, registryDeleteKey, registryDeleteKey, registryDeleteKey, registryDeleteValue, registryDeleteValue, registryDeleteValue, registryGetBinaryValue, registryGetBinaryValue, registryGetBinaryValue, registryGetExpandableStringValue, registryGetExpandableStringValue, registryGetExpandableStringValue, registryGetIntValue, registryGetIntValue, registryGetIntValue, registryGetKey, registryGetKeys, registryGetKeys, registryGetKeys, registryGetLongValue, registryGetLongValue, registryGetLongValue, registryGetStringArray, registryGetStringArray, registryGetStringArray, registryGetStringValue, registryGetStringValue, registryGetStringValue, registryGetValue, registryGetValues, registryGetValues, registryGetValues, registryKeyExists, registryKeyExists, registryQueryInfoKey, registryRegEnumKey, registrySetBinaryValue, registrySetBinaryValue, registrySetBinaryValue, registrySetExpandableStringValue, registrySetExpandableStringValue, registrySetExpandableStringValue, registrySetIntValue, registrySetIntValue, registrySetIntValue, registrySetLongValue, registrySetLongValue, registrySetLongValue, registrySetStringArray, registrySetStringArray, registrySetStringArray, registrySetStringValue, registrySetStringValue, registrySetStringValue, registryValueExists, registryValueExists, setFileSecurityDescriptor, setSecurityDescriptorForObject

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getTokenPrimaryGroup

      public static com.sun.jna.platform.win32.Advapi32Util.Account getTokenPrimaryGroup​(com.sun.jna.platform.win32.WinNT.HANDLE hToken)
      This function returns the primary group associated with a security token, such as a user token.
      Parameters:
      hToken - Token.
      Returns:
      Token primary group.