Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Localization and Security Timming in Global Navigation

  Asked By: Ojas    Date: Feb 16    Category: Sharepoint    Views: 1393

I want to create toolbar for my sharepoint application. It must have following
two attributes.
1. It should be localized. i.e. Render its text from a resource file.
2. It should be security trimmed. i.e. If the logged-in user does not
have permissions to the URL (url points to a page stored in a
document library) menu should not be available to the user.

I tried following approach.
1. Create a siteMap file and configure this as datasource for
SPSiteNavigationProvider. This approach allows me to localize the
menu however does not enable security trimming ( In fact security
trimming can be configured for windows group but not for sharepoint
groups.

2. At the site provision event I create the navigation using
following API
SPWeb.Navigation.GlobalNavigation.
This approach provides me the security trimming however it does not
allow me to localize the menu text.

Could you please help me with any solution which can allow me to
localize as well as security trim my toolbar.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Localization and Security Timming in Global Navigation Or get search suggestion and latest updates.