Edit

Share via


FileIOPermissionAttribute.ViewAccessControl Property

Definition

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

Property Value

The absolute path of the file or directory in which access control information can be viewed.

Remarks

This property gets or sets access for a single file or directory. Use additional FileIOPermissionAttribute attributes to specify additional files and directories.

Important

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. The ability to view an ACL is an important permission and should be granted with caution.

Applies to