FileIOPermissionAttribute.ViewAccessControl 属性

定义

获取或设置可在其中查看访问控制信息的文件或目录。

public:
 property System::String ^ ViewAccessControl { System::String ^ get(); void set(System::String ^ value); };
public string ViewAccessControl { get; set; }
member this.ViewAccessControl : string with get, set
Public Property ViewAccessControl As String

属性值

String

可在其中查看访问控制信息的文件或目录的绝对路径。

注解

此属性获取或设置对单个文件或目录的访问权限。 使用其他 FileIOPermissionAttribute 属性来指定其他文件和目录。

重要

访问控制列表 (ACL) 介绍对给定文件及其属性具有或没有特定操作权限的个人或组。 查看 ACL 的功能是一个重要的权限,应小心授予。

适用于