UserProfileService.UpdateColleaguePrivacy Method
Updates a colleague privacy policy for the specified account name.
Namespace: websvcUserProfileService
Assembly: MOSSSOAP (in MOSSSOAP.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/UpdateColleaguePrivacy", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", _
ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
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)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/UpdateColleaguePrivacy", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",
ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void UpdateColleaguePrivacy(
string accountName,
string colleagueAccountName,
Privacy newPrivacy
)
Parameters
- accountName
Type: System.String
Account name of the user.
- colleagueAccountName
Type: System.String
Account name of the colleague.
- newPrivacy
Type: websvcUserProfileService.Privacy
New privacy policy.