Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Need to write a program that when given the path of registry key it will extract the permissions of the key and display them in user understandable format. For example:

HKLM\SOFTWARE\Microsoft
    Administrator          Full Control
    Creator/Owner          Full Control
    Users                  Read


Any pointers will be appreciated.
Posted
Updated 21-Feb-12 7:41am
v2
Comments
Ed Nutting 21-Feb-12 13:48pm    
Perhaps a look at this CP article may help you (by the way it appears there is no Part 2 to it...) http://www.codeproject.com/Articles/4808/All-you-wanted-to-know-about-the-Registry-with-C-P

1 solution

Hi,

Have a look at the Microsoft sample located here:

ATLSecurity Sample: Demonstrates ATL Security Classes[^]

I took a brief look at the source code and it appears to be exactly what you are looking for.

Best Wishes,
-David Delaune
 
Share this answer
 
Comments
l0rddarkf0rce 21-Feb-12 15:54pm    
I think that will do the trick. Many thanks for the pointer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900