AuthorizeCreateAttribute class
namespace: Serenity.Services assembly: Serenity.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
- class ServiceAuthorizeAttribute
- Source: AuthorizeCreateAttribute.cs