|
-
March 29th, 2010, 06:18 PM
#1
Determining Permission of Registry Key
How would I determine if the currently logged-in user has permissions to write to a registry key?
For example, I am writing an applet that allows the user to change the registered owner and organization for Windows. Since this is a system-wide setting, only administrators can change it.
What I would like to do is determine if the current user has write permissions on these registry entries, so if they don't, the program would gray out the text boxes where they enter these values.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|