namespace: Serenity.Data assembly: Serenity.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.
[AttributeUsage(AttributeTargets.All)]
public class ServiceLookupPermissionAttribute : PermissionAttributeBase
name | description |
---|---|
ServiceLookupPermissionAttribute(…) | Initializes a new instance of the ServiceLookupPermissionAttribute class. (3 constructors) |
- class PermissionAttributeBase
- Source: ServiceLookupPermissionAttribute.cs