hi all,
Here is what I want to do, but as I'm a vb rookie I don't know where to start.
I know how add and delete reg. keys and set a value, but not how to set the permissions on a subkey.
the scenario should be like this:
-open a form
-fill in textboxes with the Active Directory username
- click a button on a form.
- check if the name exists in Active Dir. If not prompt
- Find the subkey
- put in the username of the user
- set the permissions to full control
Maybe I can call the security window which normally pops up when selecting perissons in regedit?
Or can this be handled in the code?
Please let me know, as it would be very handy
thanks in advance
CornElvis
Here is what I want to do, but as I'm a vb rookie I don't know where to start.
I know how add and delete reg. keys and set a value, but not how to set the permissions on a subkey.
the scenario should be like this:
-open a form
-fill in textboxes with the Active Directory username
- click a button on a form.
- check if the name exists in Active Dir. If not prompt
- Find the subkey
- put in the username of the user
- set the permissions to full control
Maybe I can call the security window which normally pops up when selecting perissons in regedit?
Or can this be handled in the code?
Please let me know, as it would be very handy
thanks in advance
CornElvis