Skip to content

ILocalTextPermissionFilter interface

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

Filters the local texts sent to the client by the permissions of the current user.

public interface ILocalTextPermissionFilter

Members

name description
GetCacheSuffix() Gets a cache suffix identifying which texts the current user may see. Users with the same suffix see the same texts. Empty when filtering is not enabled.
GetKeyFilter() Gets a predicate that returns true for the local text keys the current user may see, or null when filtering is not enabled.

See Also