Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Use a multiexcerptinclude for Subkey

...

Method

RegistryGetUserValues

ModuleNativeServices
LibraryCore
Action


Excerpt
Fetch a registry value for every user under HKU.


ParametersSubkey (string): The registry key to look for.

Multiexcerpt include
MultiExcerptNameSubkeyParameter
PageWithExcerptMethod Notes

Name (string): The name of the registry value for which to fetch its value. Use an empty string to get the (default) value.
UsersOnly (bool, optional, default false): Get values only for keys representing "real" users (and not for keys representing system pseudo-users or groups).
Return valuesName (string): Full location of the value being retrieved.
ValueType (string): "REG_DWORD" etc. as appropriate.
Value (string): The actual value of an appropriate type, converted to a string if not one already.
Sid (string): SID the value was found under.
Username (string): Domain\Username of the aforementioned SID.
Example


Code Block
languageperl
 NativeServices.RegistryGetUserValues(Subkey:"Console", Name:"FaceName");


Platforms
  • Windows
Notes

REG_NONE keys are not supported.

Multiexcerpt include
MultiExcerptNameREG_MULTI_SZ_values
PageWithExcerptMethod Notes

Multiexcerpt include
MultiExcerptNameLimit8192ForAllUsers
PageWithExcerptMethod Notes

If the subkey or registry value name does not exist, then the method will return Success (no content).

If searching for the (default) value and it is 'not set', then the method will return Success (no content).

Empty values are returned; empty values are not the same as 'not set'.

Multiexcerpt include
MultiExcerptNameHKU
PageWithExcerptMethod Notes

Multiexcerpt include
MultiExcerptNameHKU_EXPAND
PageWithExcerptMethod Notes

Warning
titleWarning

Multiexcerpt include
MultiExcerptNameAdSidToUserName
PageWithExcerptMethod Notes


...