Andrew

Andrew

  • NA
  • 1
  • 0

How can i do this??

Oct 28 2006 8:40 PM
i'm using visual c# express and first of all... i'm new to coding in general; but anyways... what i need to do, an any way shape or form. is to create a program where i am able to speciy a target remote folder and then have the program take a list of *all the subfolders and *all the files in that directory and displays all of the ntfs rights or any other type of rights i can think of. now after that i need to be able to just type in a user/group name and get a list of that users rights to all of the files that where in that particular directory. now i thought about be able to run the program and output all of the directorys infromation into a database somehow so that way it wouldn't take so long for future seaches and also so it wouldn't have to keep processing thousands of files. But the database is not necessary i just thought that could help the speed of the program. or maybe instead of the database having to supply the user name when your supplying the location and just scanning though the files and then only react to the user name that it catches in any of the files.... and also it would be nice for the program to be able to tell what groups a user is in that way when your seaching for a user, you get a more complete list of the users access. I've looked though a lot of classes trying to figure out how to do this, but i can't seem to get any of them to do what i want... maybe i'm not understand how these methods work. or what methods i should be focusing on learning. after i can get aleast this part down, i should be able to do the rest like scanning for a group of multiple user/groups. and also being able to change any of these permissions if a mistake has been found.... but any help is greatly appreciated !!