FileGetAccessControl Method (String) |
Gets a
FileSecurity object that encapsulates the access control list (ACL) entries for a specified file.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static FileSecurity GetAccessControl(
string path
)
Public Shared Function GetAccessControl (
path As String
) As FileSecurity
public:
static FileSecurity^ GetAccessControl(
String^ path
)
static member GetAccessControl :
path : string -> FileSecurity
Parameters
- path
- Type: SystemString
The path 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
path parameter.
Exceptions See Also