• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 483
  • Last Modified:

assign view to a user or group

hi,
can anyone plz give me a quick code snippet to assign custom view of a list to a user or group programically.
thanks
ab
0
aqibsp82
Asked:
aqibsp82
1 Solution
 
ukiranCommented:
This is a good link
http://www.sharepointkings.com/2010/02/set-audience-targeting-programmatically.html

In your case, you'll be setting the target audience to the custom view on that page instead of a webpart.  This also assumes that you've enabled the target audience settings on the doclib / list.
0
 
GreatGermCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now