IsAuthorizedPerResourceAttribute Constructor |
Namespace: CMS.WebApiAssembly: CMS.WebApi (in CMS.WebApi.dll) Version: 13.0.131
Syntax public IsAuthorizedPerResourceAttribute(
string resourceName,
string permissionName,
string message = ""
)
Parameters
- resourceName
- Type: SystemString
Resource name - permissionName
- Type: SystemString
Permission name to check - message (Optional)
- Type: SystemString
Error message, if null or empty DEFAULT_ERROR_MESSAGE is used
See Also