ServiceLookupPermissionAttribute class

namespace: Serenity.Data   assemblySerenity.Net.Core

Sets a permission to read only lookup fields in a row via List service Lookup field means ID, Name, and [LookupInclude] properties in a row. You must use [AuthorizeList(typeof(XRow))] instead of ServiceAuthorize in service endpoint.

public class ServiceLookupPermissionAttribute : PermissionAttributeBase

Public Members

name description
ServiceLookupPermissionAttribute(…) Initializes a new instance of the ServiceLookupPermissionAttribute class. (3 constructors)

See Also