FileIOPermissionAttribute.ViewAccessControl 属性

定义

获取或设置可在其中查看访问控制信息的文件或目录。Gets or sets the file or directory in which access control information can be viewed.

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

可在其中查看访问控制信息的文件或目录的绝对路径。The absolute path of the file or directory in which access control information can be viewed.

注解

此属性获取或设置对单个文件或目录的访问权限。This property gets or sets access for a single file or directory. 使用其他 FileIOPermissionAttribute 属性来指定其他文件和目录。Use additional FileIOPermissionAttribute attributes to specify additional files and directories.

重要

访问控制列表 (ACL) 介绍对给定文件及其属性具有或没有特定操作权限的个人或组。An access control list (ACL) describes individuals or groups who have, or do not have, rights to specific actions on the given file and its properties. 查看 ACL 的功能是一个重要的权限,应小心授予。The ability to view an ACL is an important permission and should be granted with caution.

适用于