MySitePublicWebPartPage.GetEffectivePrivacy Method
Returns the effective privacy set for the My Site public page.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Shared Function GetEffectivePrivacy ( _
page As Page _
) As Privacy
'Usage
Dim page As Page
Dim returnValue As Privacy
returnValue = MySitePublicWebPartPage.GetEffectivePrivacy(page)
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.