We have multiple client sites in a SharePoint portal that contain librarys and lists for the Clients data. We have a custom list web part (Client Contacts) that retrieves MS Dynamics CRM data (Contacts) which we want to deploy in each Clients site.
We are using generic credentials to access CRM so we need a method to allow us to filter the results returned based on which site the user is in when they call the CRM List.
Note: Some of our users have permissions to enter one or more Clients sites so it cant be a user specific filter.
Our structure is
->Shared Portal
- Client A
- Client B
etc.
So we need a method of identifying the Client Site the user is in (Client A or Client B) in SharePoint so we can pass that as a parameter to CRM to filter the results returned.