Indicates whether the connected user has either Read or All access rights to a report’s security class. If the user does not have access rights, a non-zero error number is thrown as an HRESULT. If the user has access rights, 0 is thrown as an HRESULT.
To check whether the user has a specific level of access rights, use CheckReportSecurityClass2.
<HsvReports>.CheckReportSecurityClass bstrName, nReportFileType, nReportType
Integer (ByVal). Identifies the file type of the report. Pass one of the constants listed in Document File Type Constants. | |
Integer (ByVal). Identifies the report type. Pass one of the constants listed in Document Type Constants that represent report types. |