IDynamicScript.CheckRights method
Checks whether the current user has the permissions required to access this script, throwing an exception if access is not allowed.
public void CheckRights(IPermissionService permissions, ITextLocalizer localizer)
| parameter | description |
|---|---|
| permissions | Permission service used to check the required permissions. |
| localizer | Text localizer |
See Also
- interface IPermissionService
- interface ITextLocalizer
- interface IDynamicScript