protected function accessDenied($user,$message=NULL)
    {
        http_response_code(403);
        Yii::app()->controller->renderOutput(array(), 403, $message);
    }
protected function accessDenied($user,$message=NULL)
    {
        http_response_code(403);
        Yii::app()->controller->renderOutput(array(), 403, $message);
    }
protected function accessDenied ( $ user , $ message = NULL ) { http_response_code ( 403 ) ; Yii :: app ( ) -> controller -> renderOutput ( array ( ) , 403 , $ message ) ; }
Denies the access of the user.
This method is invoked when access check fails.
@param IWebUser $user the current user
@param string $message the error message to be displayed
Denies the access of the user . This method is invoked when access check fails .