company logo

CTX_Base :: CheckPermission - Check access permission

The function returns, whether the application is allowed to call the action passed in sActionName (true) or not (false). The function is called internally before executing an action or function.

By default, the function returns true. In order to perform permission checks, the permitted() function can be overloaded in a user specialized context class.

When the context handle does not refer to a valid context instance the function throws an exception.

Return value:  Continuation (   )

When this value is true the function will continue, otherwise the processing terminates.

Implementation details

logical CTX_Base  :: CheckPermission ( UCA_Action *actptr )
  • actptr - Action pointer

    The pointer refers to an internal action that has been implicitly defined or created from a resource.