This topic has not yet been rated - Rate this topic

MySitePublicWebPartPage.GetEffectivePrivacy Method

Returns the effective privacy setting for the “My Site” public page.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
public static Privacy GetEffectivePrivacy(
	Page page
)

Parameters

page
Type: System.Web.UI.Page
A “My Site” public page.

Return Value

Type: Microsoft.Office.Server.UserProfiles.Privacy
The effective privacy.

This override returns the requested privacy if the current page is the “My Site” public page and the View State is initialized; otherwise, returns Private.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ