Skip to main content
edited body
Source Link
Pradip R.
  • 2.3k
  • 2
  • 18
  • 39

I have my custom master page developed in SharePoint 2013, Now I have a requirement to have some links to be visible for only particular user/group (not on permission so SecurityTrimmedControl will not work for me).

So I have came up with thought to have Content Editor Webpart and put Target Audience in that webpart properties. But when I tried to add this webpart from the Snippet Gallery in masterpage, it has no Target Audience Property.

Can anyone tell me the other possible way except JavascriptJavaScript/Server side code side code to check the logged in user permission and then show the link?

I have my custom master page developed in SharePoint 2013, Now I have a requirement to have some links to be visible for only particular user/group (not on permission so SecurityTrimmedControl will not work for me).

So I have came up with thought to have Content Editor Webpart and put Target Audience in that webpart properties. But when I tried to add this webpart from the Snippet Gallery in masterpage, it has no Target Audience Property.

Can anyone tell me the other possible way except Javascript/Server side code to check the logged in user permission and then show the link?

I have my custom master page developed in SharePoint 2013, Now I have a requirement to have some links to be visible for only particular user/group (not on permission so SecurityTrimmedControl will not work for me).

So I have came up with thought to have Content Editor Webpart and put Target Audience in that webpart properties. But when I tried to add this webpart from the Snippet Gallery in masterpage, it has no Target Audience Property.

Can anyone tell me the other possible way except JavaScript/Server side code to check the logged in user permission and then show the link?

added 75 characters in body
Source Link
Pradip R.
  • 2.3k
  • 2
  • 18
  • 39

I have my custom master page developed in SharePoint 2013, Now I have a requirement to have some links to be visible for only particular user/group (not on permission so SecurityTrimmedControl will not work for me).

So I have came up with thought to have Content Editor Webpart and put Target Audience in that webpart properties. But when I tried to add this webpart from the Snippet Gallery in masterpage, it has no Target Audience Property.

Can anyone tell me the other possible way except Javascript/Server side code to check the logged in user permission and then show the link?

I have my custom master page developed in SharePoint 2013, Now I have a requirement to have some links to be visible for only particular user.

So I have came up with thought to have Content Editor Webpart and put Target Audience in that webpart properties. But when I tried to add this webpart from the Snippet Gallery in masterpage, it has no Target Audience Property.

Can anyone tell me the other possible way except Javascript/Server side code to check the logged in user permission and then show the link?

I have my custom master page developed in SharePoint 2013, Now I have a requirement to have some links to be visible for only particular user/group (not on permission so SecurityTrimmedControl will not work for me).

So I have came up with thought to have Content Editor Webpart and put Target Audience in that webpart properties. But when I tried to add this webpart from the Snippet Gallery in masterpage, it has no Target Audience Property.

Can anyone tell me the other possible way except Javascript/Server side code to check the logged in user permission and then show the link?

Source Link
Pradip R.
  • 2.3k
  • 2
  • 18
  • 39

Add Content Editor webpart in masterpage with Target audience

I have my custom master page developed in SharePoint 2013, Now I have a requirement to have some links to be visible for only particular user.

So I have came up with thought to have Content Editor Webpart and put Target Audience in that webpart properties. But when I tried to add this webpart from the Snippet Gallery in masterpage, it has no Target Audience Property.

Can anyone tell me the other possible way except Javascript/Server side code to check the logged in user permission and then show the link?