Solved

assign view to a user or group

Posted on 2010-09-03
3
473 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 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

11 Experts available now in Live!

Get 1:1 Help Now