Share via


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

屬性值

可以在其中檢視存取控制資訊之檔案或目錄的絕對路徑。

備註

此屬性會取得或設定單一檔案或目錄的存取權。 使用其他 FileIOPermissionAttribute 屬性來指定其他檔案和目錄。

重要

訪問控制清單 (ACL) 描述具有或沒有指定檔案及其屬性上特定動作之個人或群組的許可權。 檢視 ACL 的能力是重要的許可權,應謹慎授與。

適用於