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
Reading NTFS Rights possible with Purebasic?
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.
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.