Programmatically add audience for web parts sharepoint 2010 |
In this Post we will set the audience for a WebPart which Web Parts page, you can use the SPLimitedWebPartManager object to get the Web Part whose property you want to edit. using (SPWeb site = (SPWeb)properties.Feature. // Assign the GUID for “Sample Audience” to the AuthorizationFilter property of the first Web Part on the page. |
Monday, November 28, 2011
Programmatically add audience for web parts sharepoint 2010
Category:
SharePoint 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment