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).
Exceptions
Type Description
System.ArgumentNullException When permissionCode is null or whitespace.

Properties

PermissionCode

Summary

Gets the permission code.

Value

The permission code.