Solved

assign view to a user or group

Posted on 2010-09-03
3
472 Views
Last Modified: 2012-06-21
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
Comment
Question by:aqibsp82
3 Comments
 
LVL 3

Accepted Solution

by:
ukiran earned 500 total points
ID: 33599492
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
 
LVL 17

Expert Comment

by:GreatGerm
ID: 36123428
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now