You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Friends Class > Friends Methods > DeleteFriend
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Friends.DeleteFriend Method

Deletes a friend from a user's friends list. 

This method can be accessed through the Friends.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Community/Friends.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "DeleteFriend", Description = "Deletes a friend from a user's friends list.")]
public void DeleteFriend(long friendUserId, long userId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "DeleteFriend", Description = "Deletes a friend from a user's friends list.")>
Public Function DeleteFriend(friendUserId As long, userId As long) As void
Parameters 
Description 
friendUserId 
User ID of the friend to delete from a user's friends list. 
userId 
The ID of a user deleting the friend. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!