Retrieves the owner of a file.
Parameters
- cFileName
The name of the file for which to retrieve the owner.
Note
- rOwner
A reference to a variable that receives the owner of the file.
- rDomain
A reference to a variable that receives the domain of the owner of the file.
- rSidType
A reference to a variable that receives the type of the account.
The type is one of the values in SID_NAME_USE enumeration.
Return Value
Always .T.
See Also
Reference
ADirectoryInfo
ADirEx
ADriveInfo
AFileAttributes
AFileAttributesEx
CancelFileChange
CompareFileTimes
CopyFileEx
DeleteDirectory
DeleteFileEx
FindFileChange
GetFileAttributes
GetFileSize
GetFileTimes
GetLongPathName
GetShortPathName
MoveFileEx
SetFileAttributes
SetFileTimes
Used WinApi functions
CreateFile
GetKernelObjectSecurity
GetSecurityDescriptorOwner
LookupAccountSid
CloseHandle