FileGetAccessControl Method (SafeFileHandle) |
[AlphaFS] Gets a
FileSecurity object that encapsulates the access control list (ACL) entries for a specified file handle.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static FileSecurity GetAccessControl(
SafeFileHandle handle
)
Public Shared Function GetAccessControl (
handle As SafeFileHandle
) As FileSecurity
public:
static FileSecurity^ GetAccessControl(
SafeFileHandle^ handle
)
static member GetAccessControl :
handle : SafeFileHandle -> FileSecurity
Parameters
- handle
- Type: Microsoft.Win32.SafeHandlesSafeFileHandle
A SafeFileHandle to a file containing a FileSecurity object that describes the file's access control list (ACL) information.
Return Value
Type:
FileSecurityA
FileSecurity object that encapsulates the access control rules for the file described by the
handle parameter.
Exceptions See Also