PrivacyItem.InitializeNewPrivacyItem Method
This member is reserved for internal use and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Protected Friend Sub InitializeNewPrivacyItem ( _
strTitle As String, _
strUrl As String, _
groupType As Object, _
strGroup As String, _
privacyLevel As Privacy _
)
'Usage
Dim strTitle As String
Dim strUrl As String
Dim groupType As Object
Dim strGroup As String
Dim privacyLevel As Privacy
Me.InitializeNewPrivacyItem(strTitle, _
strUrl, groupType, strGroup, privacyLevel)
protected internal void InitializeNewPrivacyItem(
string strTitle,
string strUrl,
Object groupType,
string strGroup,
Privacy privacyLevel
)
Parameters
- strTitle
Type: System.String
- strUrl
Type: System.String
- groupType
Type: System.Object
- strGroup
Type: System.String
- privacyLevel
Type: Microsoft.Office.Server.UserProfiles.Privacy
Remarks
For more information about privacy policies, see Privacy Policies. For a code example about how to set the privacy policy of a property, see How to: Set Privacy Policies for User Profile Properties.