Главная страница
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.042 c
2-1163761902
bng
2006-11-17 14:11
2006.12.03
SpeedButton +handle


1-1161172048
zirus
2006-10-18 15:47
2006.12.03
Масштабирование изображений(квадрат -> трапеция)


1-1161192067
i-am-vladko
2006-10-18 21:21
2006.12.03
TWebBrowser dynamic create


2-1163694118
KurtCobain
2006-11-16 19:21
2006.12.03
Переменные в DLL


15-1163276275
ZeroDivide
2006-11-11 23:17
2006.12.03
Масштабирование LCD-монитора как отключить?