Skip to content

AuthorizeDeleteAttribute class

namespace: Serenity.Services   assemblySerenity.Net.Web

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

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class AuthorizeDeleteAttribute : ServiceAuthorizeAttribute
parameter description
sourceType The source type.

Public Members

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

Remarks

Initializes a new instance of the AuthorizeDeleteAttribute class.

See Also