Accessing registry information related to permissions.

R

radrain

I need to programmatically get the list of users and/or groups related
to a specific registry keys permissions. I have successfully access
key values from the registry but I need a way to, programatically,
using C#, get the same list which is shown via the 'Permissions' in
'Group or user names' listbox when using the Registry Editor.

A code sample would be ideal or a reference to where I could find
information related to this problem. Any help will be appreciated.

Thanks in advance.
 
G

Guest

Hi radrain,

I have reviewed your issue, I will spend some time to do some research on
it, I will reply to you ASAP.

Thanks for your understanding.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
G

Guest

Hi radrain,

Sorry for letting you wait for so long time.

After doing a lot of research, I found there is a VB sample, tells you how
to get this done, please refer to:
"HOWTO: Use Low-Level Access Control APIs from Visual Basic"
http://support.microsoft.com/default.aspx?scid=kb;EN-US;316440

Also, you may follow "learning_csharp"'s suggestion, use the COM interop
with the ADsSecurity, but I think the simplest way is P/invoke the that KB
code.

===================================
Please apply my suggestion above and let me know if it helps resolve your
problem.

Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
G

Guest

Hi radrain,

Does my reply make sense to you? Is your problem resolved?

Please feel free to feedback. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top