FieldReadPermissionAttribute class

namespace: Serenity.Data   assemblySerenity.Net.Core

Sets default read permission for fields of a row which doesn't have a ReadPermission themselves.

public class FieldReadPermissionAttribute : PermissionAttributeBase

Public Members

name description
FieldReadPermissionAttribute(…) Initializes a new instance of the FieldReadPermissionAttribute class. (3 constructors)
ApplyToLookups { get; set; } Determines whether this permission is also applied to row fields with [LookupInclude] attribute, ID and Name fields. Defaults to true.

See Also