![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Как определить владельца файла(NTFS)
sVic © (2006-07-25 16:09:00)Нашел функцию: http://excode.ru/art5137.html
Но локальных дисках работает без проблем. Не определяется владелец на сетевых дисках. Пробовал относительный и абсолютный пути. Может кто сталкивался с такой проблемой?
Eraser (2006-07-25 22:54:00) [1]> [0] sVic (25.07.06 16:09)
попробуйте вместо GetFileSecurity использовать GetNamedSecurityInfo.
You can use the GetNamedSecurityInfo function with the following types of objects:(c) MSDN.
Local or remotefiles or directories on an NTFS file system
Local or remote printers
Local or remote Windows services
Network shares
Registry keys
Semaphores, events, mutexes, and waitable timers
File-mapping objects
Directory service objects