Share via


UserProfileService.UpdateMembershipPrivacy Method

This member is reserved for internal use and is not intended to be used directly from your code. Use the corresponding UserProfileService Web service member instead.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub UpdateMembershipPrivacy ( _
    accountName As String, _
    sourceInternal As Guid, _
    sourceReference As String, _
    newPrivacy As Privacy _
)
'Usage
Dim instance As UserProfileService
Dim accountName As String
Dim sourceInternal As Guid
Dim sourceReference As String
Dim newPrivacy As Privacy

instance.UpdateMembershipPrivacy(accountName, _
    sourceInternal, sourceReference, _
    newPrivacy)
[WebMethodAttribute]
public void UpdateMembershipPrivacy(
    string accountName,
    Guid sourceInternal,
    string sourceReference,
    Privacy newPrivacy
)

Parameters

See Also

Reference

UserProfileService Class

UserProfileService Members

Microsoft.Office.Server.UserProfiles Namespace