Skip to main content
All docs
V26.1
  • DirectoryAccessRule(AccessPermission, String[]) Constructor

    Creates the DirectoryAccessRule type rule that provides the specified access permission to the specified file directories.

    Namespace: DevExpress.Security.Resources

    Assembly: DevExpress.Data.v26.1.dll

    NuGet Package: DevExpress.Data

    Declaration

    public DirectoryAccessRule(
        AccessPermission permission,
        params string[] directories
    )

    Parameters

    Name Type Description
    permission AccessPermission

    The AccessPermission enumeration value that specifies whether the created rule allows or denies access to the specified file directories.

    directories String[]

    An array of file directories that the created rule allows or denies.

    Remarks

    You can use the static Allow(String[]) or Deny(String[]) method to create an instance of the DirectoryAccessRule class.

    See Also