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 的能力是一項重要的許可權,應該謹慎地授與。

適用於