Click or drag to resize
DirectoryGetAccessControl Method

Note: This API is now obsolete.

Gets a FileSecurity object that encapsulates the access control list (ACL) entries for a specified directory.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("The method is returning Windows-specific functionality and will be removed in the next version. Implement a custom method to retrieve directory permissions on your selected platform.")]
public static DirectorySecurity GetAccessControl(
	string path
)

Parameters

path
Type: SystemString
Path to file

Return Value

Type: DirectorySecurity
See Also