Pass user's office from active directory 'general' tab to report parameter in report services
Posted on 2010-08-24
We would like to implement a modicum of security in the report manager so that users of a particular report are not able to run the report for different departments. This would be alternative to deploying different versions of the report. We would like to pass information from their active directory profile ('office') to the report itself and have that determine a parameter's values.
For example. We have several reports that contain a single parameter drop down for office...that parameter has all offices listed. Using desired method, we would have the office they belong to (determined via active directory) passed to the selection criteria parameter automatically - or could also be used as thefilter data.
Is this possible? If possible, are there other fields available besides office - are all fields available from their AD profile? If not possible, are there other methods for accomplishing my goal? Any nudge in the right direction would be appreciated. I've googled around, but not found the right solution.
Let me know if you need more details.