startReportWriterConfiguration

startReportWriterConfiguration(usercode:      String;
                               securityClass: Class);

The startReportWriterConfiguration method of the JadeReportWriterManager class starts the JADE Report Writer Configuration application using the user name specified in the usercode parameter and the user-defined subclass of the JadeReportWriterSecurity specified in the securityClass parameter (which can be a null value if you require only the default security).

If the specified user is not allowed to access the JADE Report Writer Configuration application, the application is not started.

The following example shows the use of the startReportWriterConfiguration method.

mnuFileConfigure_click(menuItem: MenuItem input) updating;
vars
    jrwm : JadeReportWriterManager;
begin
    create jrwm transient;
    if jrwm.isReportWriterInstalled then
        jrwm.startReportWriterConfiguration(app.myUser.name,
                                            MySecurityClass);
    endif;
epilog
    delete jrwm;
end;