Join us for SoftSummit 2023. The 20th anniversary of the industry leading software monetization conference. April 18 and 20. Register Now

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Alex_W
Level 6

How to retrieve from HKEY_USERS?

Hi All

Is there a simple way to find user ID for the current user in the registry under HKEY_USERS? I’m trying to retrieve a key value under HKEY_USERS\S-user id number\Software…, but RegDBQueryKey() gets cranky with partial paths.
Labels (1)
0 Kudos
1 Reply
Christopher_Pai
Level 16

Hkey_current_user
0 Kudos