Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.12.03;
Скачать: CL | DM;

Вниз

Как определить владельца файла(NTFS)   Найти похожие ветки 

 
sVic   (2006-07-25 16:09) [0]

Нашел функцию: http://excode.ru/art5137.html
Но локальных дисках работает без проблем. Не определяется владелец на сетевых дисках. Пробовал относительный и абсолютный пути. Может кто сталкивался с такой проблемой?


 
Eraser ©   (2006-07-25 22:54) [1]

> [0] sVic   (25.07.06 16:09)

попробуйте вместо GetFileSecurity использовать GetNamedSecurityInfo.
You can use the GetNamedSecurityInfo function with the following types of objects:

Local or remote files 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
(c) MSDN.



Страницы: 1 вся ветка

Текущий архив: 2006.12.03;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.068 c
2-1163133730
Shopot
2006-11-10 07:42
2006.12.03
TQuickReport.


2-1163613056
nordic3
2006-11-15 20:50
2006.12.03
Значок пи


15-1163270326
Alatiel
2006-11-11 21:38
2006.12.03
Delphi 7: could not find valid product information


15-1163389685
Slider007
2006-11-13 06:48
2006.12.03
С днем рождения ! 13 ноября


15-1163151320
HeadHunter
2006-11-10 12:35
2006.12.03
Требуется Delphi программист (Минск)