Hi

I'm creating a web activeX dll that potentially provides access to files in a fixed range of folders.

My question is: how do I determine the access rights for a given NT username on directories and files? I need to know if the user can read, write, or has no access at all to both files and folders.

I've seen code samples for adding access rights but not for checking them.

Thanks for your help.