AuthorizeCreateAttribute class

namespace: Serenity.Services   assemblySerenity.Net.Web

Authorizes access to a service method by reading one of InsertPermissionAttribute, ModifyPermissionAttribute or ReadPermissionAttribute from the target type, which is usually a Row class.

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class AuthorizeCreateAttribute : ServiceAuthorizeAttribute

Public Members

name description
AuthorizeCreateAttribute(…) Creates a new instance of the attribute

See Also