Folder Permissions
Posted: Fri Jul 25, 2008 8:22 am
Hi,
My ultimate goal is to pass a folder path and retrieve the folder permissions for it (read, write, create, delete)
So I thought I could do :
MyShare := Share('\\VADER\V8_TEST_FILES')
But this doesn't bring back anything for NetName or Path and therefore I'm not able to access the Access properties.
So then I thought I could get all the shares on my system and loop through them. So I do a
Me := Shares([stDisk]);
But this gives only 4 entries. Namely D:\, E:\, C:\WINDOWS, C:\. So I guess this is the current shares on my local machine.
So I guess my question is, Is there any way to connect to a remote share and find out what access rights I have?
Cheers,
Chris.
My ultimate goal is to pass a folder path and retrieve the folder permissions for it (read, write, create, delete)
So I thought I could do :
MyShare := Share('\\VADER\V8_TEST_FILES')
But this doesn't bring back anything for NetName or Path and therefore I'm not able to access the Access properties.
So then I thought I could get all the shares on my system and loop through them. So I do a
Me := Shares([stDisk]);
But this gives only 4 entries. Namely D:\, E:\, C:\WINDOWS, C:\. So I guess this is the current shares on my local machine.
So I guess my question is, Is there any way to connect to a remote share and find out what access rights I have?
Cheers,
Chris.