General information
Category:
Coding, syntax & commands
Hi,
>
Is there any way to identify the owner of a file programmatically? I know this can be obtained from the Advanced Security tab on the properties dialog using Windows Explorer.
>
I think you'll need to resort to three API functions (GetFileSecurity(),GetSecurityDescriptorHolder(),LookupAccountSID()). There's an example for VB in the KB - 'HOWTO:Obtain the Owner of a File on Windows NT'
HTH,
Viv
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only