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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. LoveToSpod

    Users only able to see their 'own' data (HELP ME!!)

    Geoff, Here it is, the NIRVANA answer!!! - You can use the "=User.UserID" function to return the User ID in Reporting Services. 1 - I created the [UserCountry] table. This table has two fields [UserID] and [CountryName]. I linked the table with the rest of my data in the query using the...
  2. LoveToSpod

    Users only able to see their 'own' data (HELP ME!!)

    Hi Geoff, Someone provided me with this code: ======================== create Function dbo.UserCountry() returns varchar as return (select CountryName from UserCountry where UserID = suser_sid() ) End Function ======================== I have followed your suggestion as per above and created a...
  3. LoveToSpod

    Users only able to see their 'own' data (HELP ME!!)

    Geoff, This looks great, please hang on in there with me so I can nail this SOB!! To answer your Q, I have a policy in place for the user list to be updated as and when users come/go/change. I can create and install the list of countries by user, to the sql server. Lets suggest the table is...
  4. LoveToSpod

    Users only able to see their 'own' data (HELP ME!!)

    Hi again Geoff, I wouldn't be sure how to use the active directory (to be perferctly honest). If there is no straight forward solution, howzabout if I create a data table of users and their countries and we could reference that. If we use this method, how do I refernce the country name with...
  5. LoveToSpod

    Users only able to see their 'own' data (HELP ME!!)

    Hi Geoff, Yep, agreed - parameter on the CountryName is the way to go. (BTW, I have a fair grasp on using parameters within reports.) Only, I am stuck on how I carry the users' country name to the query parameter invisibly, preventing the user being able to access another country's...
  6. LoveToSpod

    Users only able to see their 'own' data (HELP ME!!)

    Hi there, Can someone please put me out of my misery!!!!!!!!! - I am using Reporting Services to deliver business reports over our Intranet to the world. However, I simply need to restrict the report information to the user's country...: E.G. If the user is from Australia, he only sees the...

Part and Inventory Search

Back
Top