Export (0) Print
Expand All

UserProfileService.RemoveAllMemberships method

Removes all memberships for the specified user.

Namespace:  WebSvcUserProfileService
Assembly:  UserProfileServices (in UserProfileServices.dll)

[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/RemoveAllMemberships", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
	ResponseNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void RemoveAllMemberships(
	string accountName
)

Parameters

accountName
Type: System.String

The account name of the user.

ExceptionCondition
SoapException

The memberships cannot be removed.

This method deletes all memberships of the user specified by the accountName parameter.

Show:
© 2015 Microsoft