UserProfileService.UpdateColleaguePrivacy 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 UpdateColleaguePrivacy ( _
accountName As String, _
colleagueAccountName As String, _
newPrivacy As Privacy _
)
'Usage
Dim instance As UserProfileService
Dim accountName As String
Dim colleagueAccountName As String
Dim newPrivacy As Privacy
instance.UpdateColleaguePrivacy(accountName, _
colleagueAccountName, newPrivacy)
[WebMethodAttribute]
public void UpdateColleaguePrivacy(
string accountName,
string colleagueAccountName,
Privacy newPrivacy
)
Parameters
- accountName
Type: System.String
- colleagueAccountName
Type: System.String
- newPrivacy
Type: Microsoft.Office.Server.UserProfiles.Privacy