public int checkSecurity()
    {
        App application = null;
        if (this.getTask() != null)
            application = this.getTask().getApplication();
        int iErrorCode = Constant.NORMAL_RETURN; 
        if (application != null)
            iErrorCode = application.checkSecurity(this.getClass().getName());
        return iErrorCode;
    }
public int checkSecurity ( ) { App application = null ; if ( this . getTask ( ) != null ) application = this . getTask ( ) . getApplication ( ) ; int iErrorCode = Constant . NORMAL_RETURN ; if ( application != null ) iErrorCode = application . checkSecurity ( this . getClass ( ) . getName ( ) ) ; return iErrorCode ; }
Does the current user have permission to access this screen.
@return NORMAL_RETURN if access is allowed, ACCESS_DENIED or LOGIN_REQUIRED otherwise.