canAccessDesigner(userName: String): Integer;
The canAccessDesigner method of the JadeReportWriterSecurity class returns the type of access that the user specified in the userName parameter has to the JADE Report Writer Designer application when it is invoked by that user.
By default, users have full access to the JADE Report Writer Designer application (that is, they can both access and change reports and templates). When the return value of this method is checked at the time the application is invoked, the application is not started if the user has no access. If the user has read-only access, the application is started in read-only mode and the user can access but not change reports and templates. For details about the integer values that can be returned by this method, see "JadeReportWriterSecurity Class Constants", earlier in this chapter.