Skip to content

EsmFileAccess class

namespace: Serenity.Web   assembly: Serenity.Net.Web

The access to a file that EsmAccessPolicy determines.

public class EsmFileAccess

Public Members

name description
static readonly Hidden A file that is never served.
static readonly NotHandled Not a file the policy handles.
static readonly Public A file that is served to everyone.
static Restricted(…) A file that is served only to users with one of the permissions.
Kind { get; } The kind of access.
Permissions { get; } For Restricted, the permissions of the entry points that reach the file. The file is served to users with any of them.

See Also