Reading NTFS Rights possible with Purebasic?

Just starting out? Need help? Post your questions and find answers here.
sabre
User
User
Posts: 11
Joined: Mon Apr 26, 2004 11:41 pm

Reading NTFS Rights possible with Purebasic?

Post by sabre »

Hi -

I am trying to create a little utility that will check the rights of a folder and or file. For example:

Check C:\windows and then display the NTFS rights assigned to that folder such as:

C:\Windows has these rights: Everyone = Read+Execute, Administrators = Full Control.

Is there any way to do this using PB perhaps through API calls or something? Any sample code or direction is greatly appreciate thanks
Max.²
Enthusiast
Enthusiast
Posts: 175
Joined: Wed Jul 28, 2004 8:38 am

Post by Max.² »

Have a look at PureArea.net. Under userlibs you find ACL-Info which should do what you ask for.

http://www.purearea.net/pb/english/index.htm

There was a bug-report though, but dunno if it was really a bug or worked as designed or whatsoever. Had to do with some groups showing multiple times.
sabre
User
User
Posts: 11
Joined: Mon Apr 26, 2004 11:41 pm

Post by sabre »

Thanks for the quick reply
Post Reply