IIdReference

Namespace: ASPSecurityKit.Authorization
Assembly: ASPSecurityKit.dll

Summary

Interface to represent a related reference model.

Methods

GetPermissionCode(operationPermissionCode)

Summary

Gets the permission code to be used to authorize this reference. You should return the provided one as is if there’s no customization needed.

Returns

The permission code to be used to authorize this reference.

Parameters
Name Type Description
operationPermissionCode System.String The permission code that represents the current operation being executed.

GetEntityId()

Summary

Gets the reference value as entityId to authorize this reference.

Returns

The reference value as entityId to authorize this reference.

Parameters

This method has no parameters.