Skip to main content

DirectoryAccessRule(AccessPermission) Constructor

Creates an instance of the DirectoryAccessRule that provides the specified access permission to file directories.

Namespace: DevExpress.Security.Resources

Assembly: DevExpress.Data.v24.2.dll

Declaration

public DirectoryAccessRule(
    AccessPermission permission
)

Parameters

Name Type Description
permission AccessPermission

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

Remarks

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

See Also