3.1.4.31 RemoveAllMemberships

The RemoveAllMemberships WSDL operation is used to update the specified user profile by deleting all memberships present in the user profile.

 <wsdl:operation name="RemoveAllMemberships">
     <wsdl:input message="tns:RemoveAllMembershipsSoapIn"/>
     <wsdl:output message="tns:RemoveAllMembershipsSoapOut"/>
 </wsdl:operation>

The protocol client sends a RemoveAllMembershipsSoapIn request WSDL message and the protocol server responds with a RemoveAllMembershipsSoapOut response WSDL message.

If the user is not authorized to administer the user profile service, the protocol server MUST send a SOAP fault message.

RemoveAllMemberships operation

Figure 33: RemoveAllMemberships operation