Accessing registry information related to permissions.

  • Thread starter Thread starter radrain
  • Start date Start date
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.
 
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.
 
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.
 
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.
 
Back
Top