Skip to content

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
parameter description
sourceType The source type.

Public Members

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

Remarks

Initializes a new instance of the AuthorizeCreateAttribute class.

See Also