Click or drag to resize

DirectoryGetAccessControl Method (SafeFileHandle)

[AlphaFS] Gets a DirectorySecurity object that encapsulates the access control list (ACL) entries for the specified directory handle.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public static DirectorySecurity GetAccessControl(
	SafeFileHandle handle
)

Parameters

handle
Type: Microsoft.Win32.SafeHandlesSafeFileHandle
A SafeFileHandle to a directory containing a DirectorySecurity object that describes the directory's access control list (ACL) information.

Return Value

Type: DirectorySecurity
A DirectorySecurity object that encapsulates the access control rules for the file described by the handle parameter.
Exceptions
See Also