"HKU" of registry

The query below returns the expected values
values “ProgId” of keys “Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice” of keys of key “HKU” of registry

However, I need to filter this query based on a string of characters in the SID potion of the keys.
I’ve been banging my head against the for a while, so any help is appreciated.

(values "ProgId" of it) of keys ("HKEY_USERS\" & (component string of sid of security account (name of logged on user whose (active of it = True))) & "\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice") of (registries)

thanks dakota…but what if there are multiple SIDs under HKU? In a nutshell, I want to get “ProgId” for all SIDs associated with our AD domain.

Here’s one I tried that didn’t work

values “ProgId” of keys “Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice” of keys (whose name of it as string as lower case contains “8675309”) of key “HKU” of registry

The whose belongs before the parentheses…

keys whose (name of it as string...

…that was emabarrasing…thank you JasonWalker