Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.07 KB

ServiceLookupPermissionAttribute.md

File metadata and controls

20 lines (14 loc) · 1.07 KB

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.

[AttributeUsage(AttributeTargets.All)]
public class ServiceLookupPermissionAttribute : PermissionAttributeBase

Public Members

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

See Also