Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check report permissions

Status
Not open for further replies.

darran6

Programmer
May 12, 2005
38
GB
Environment: Crystal Report Server XI, Visual Basic

Hi,

Using the Crystal RS COM SDK, and VB 2005 Express I need to know how to check the permissions on a report (e.g. whether a user is allowed to view/schedule).

I'm developing a reporting app for users to be able to see what reports they can schedule, and to actually schedule those reports.

Obviously different users should be able to see/schedule different reports, but I can't see how to select the report (as administrator) and then check whether it should be shown for the current user (of the app).

The users are also set up in Crystal (same username), but we can't use single sign on and don't want them to have to log into the reporting app as well as into the operating system.

The final app isn't in VB, but a product called OpenRoad so once the VB is sorted I'll be creating dll's that can be called from OpenRoad.

Any help appreciated.

Cheers,
Darran
 
If you look at the sample code from the Developer Library here and here it will show you how to get to the rights information on a report for a specific user.

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top