NT User Directory Ownship

Is there a way to change the ownership of an NT user's directory. I need to change the ownership permissions for a large number of users and the NT security tools just don't hit the mark for this.

TIA  Dave
DaveCourtAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
aldynConnect With a Mentor Commented:
You've mentioned about two different things: ownershisp and ownership permissions. The first one is defined by the Owner field of the security descriptor associated with directory. The second one is an item in in the DACL. In common for each directory you will have to do the following actions:
1) read security descriptor
2) modify it
3) write it back

The step (2) is most difficult and requires a lot of API calls and memory reallocations. I have a set of components that essentially simplify this step. They are available on my site at
http://members.tripod.com/~aldyn/svcom_frame.html
The tutorial is located at
http://members.tripod.com/~aldyn/tutorial

0
 
DaveCourtAuthor Commented:
Many thanks for your speedy help Aldyn

Dave
0
All Courses

From novice to tech pro — start learning today.