AuthPermissionAttribute

Namespace: ASPSecurityKit.Net
Assembly: ASPSecurityKit.Net.dll

Summary

Attribute to indicate the complete permission code for the associated action(s) for activity-based authorization checks.

Constructors

#ctor(permissionCode)

Summary

Initializes a new instance of the AuthPermissionAttribute class.

Parameters
Name Type Description
permissionCode System.String The permission code for the associated action(s). The action name is considered as the permission code if the param is null or whitespace.

Properties

PermissionCode

Summary

Gets the permission code. The action name is considered as the permission code if the value is null or whitespace.

Value

The permission code.