Hi I'm new to this and have searched but couldnt quite find the solution. I believe SP Sercices will be the tool, but no examples satisfied my requirement, hope you can help.
What I have
-Custom Publishing site with main nav and sub nav (store related)
-Main nav is global and all users across sites can access
-Sub navs are store related meaning each of our stores sub nav is proprietary to each stores content.
-Sub nav links are the same for all store sub navs
-example sub nav links: our staff, store news, store calendar.
-Sub nav is using managed terms. *Please inform if using simple links are better approach although id perfer to do this programaticaly rather than manual.
What im trying to do
-Have store sub nav URL links coorelate only to store specific group members. Ex: Florida store users click "our staff" and are taken to Florida store staff page. When California store users click "our staff" they are taken to California store staff page. This should hold true for all links in sub nav.
Let me know if im lacking information.
Thanks!
I am afraid SharePoint won't be able to tell which AD group the user belongs to.
Here is how I worked around this issue in the past: - create a list with one item per store (store name or link to the store Web site). - apply item level permissions, each item (store) being only accessed by its AD group.
Now, when you retrieve this list under the user's credentials (you can use SPServices, but there are other ways), you'll only get the user's store.