Versions Compared

Key

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

...

Method

RegistryUserValueExists

ModuleNativeServices
LibraryCore
Action


Excerpt
For each user under HKU, tests whether a given value exists.


Parameters

Subkey (string): The registry key to look under.

Multiexcerpt include
MultiExcerptNameSubkeyParameter
PageWithExcerptMethod Notes

Name (string): The name of the registry value to check.

Return values

Exists (boolean): True if the value exists, false if it doesn't.

Sid (string): SID of the user.

Username (string): Domain\Username of the aforementioned SID.

Example


Code Block
languageperl
 NativeServices.RegistryUserValueExists(Subkey:"Control Panel\\Colors", Name:"Hilight");


Platforms
  • Windows
Notes

Multiexcerpt include
MultiExcerptNameLimit8192ForAllUsers
PageWithExcerptMethod Notes

Multiexcerpt include
MultiExcerptNameHKU
PageWithExcerptMethod Notes

Warning
titleWarning

Multiexcerpt include
MultiExcerptNameAdSidToUserName
PageWithExcerptMethod Notes


...