canMaintainViews(userName: String): Integer;
The canMaintainViews method of the JadeReportWriterSecurity class returns the type of access that the user specified in the userName parameter has to views in the JADE Report Writer Configuration application. Access to views is checked when the user attempts to build, delete, extract, load, create, open, or validate views.
By default, users have full access to views in the JADE Report Writer Configuration application. When the return value of this method is checked at the time access to views is attempted, views are not invoked if the user has no access. If the user has read-only access, views are displayed in read-only mode, and the user cannot change values. For details about the integer values that can be returned by this method, see "JadeReportWriterSecurity Class Constants", earlier in this chapter.