|
-
March 27th, 2002, 10:17 AM
#1
SETTING PERMISSIONS IN WIN NT
I need to set the permissions for a folder or for a specific registry key (for example to grant full access to a key or folder to a specific user).
I want to do this programatically but I've found no solution till now.
Okay, I know about the NetUserxxxx functions but actually they are useless for me cause I do not want to change the group for a user that want to gain access to a certain folder or registry key.
Does anyone have a clue about this ???
Which API I should use, or give me a link to documentation.
Any useful answer will be rated.
10x in advance
-
March 27th, 2002, 11:08 AM
#2
Re: SETTING PERMISSIONS IN WIN NT
Hi,
Use the following APIs: GetSecurityInfo(), SetNamedSecurityInfo(), etc.
Details in MSDN Library->Platform SDK->Base Services->Security
Regards,
Claudiu
Brainbench MVP for C++
Make sure you rate the post if helped ! This encourage people to respond.
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
|