Skip to main content

UrlAccessRule(AccessPermission, String[]) Constructor

Creates the UrlAccessRule that provides the specified access permission to specified URLs.

Namespace: DevExpress.Security.Resources

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


public UrlAccessRule(
    AccessPermission permission,
    params string[] urls


Name Type Description
permission AccessPermission

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

urls String[]

An array of Urls that the created rule allows or denies.


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

See Also