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

Delete's a friend from a user's selected 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 = "DeleteSelectedFriend", Description = "Delete's a friend from a user's selected friends list.")]
public void DeleteSelectedFriend(long selectedFriendUserId, long userId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "DeleteSelectedFriend", Description = "Delete's a friend from a user's selected friends list.")>
Public Function DeleteSelectedFriend(selectedFriendUserId As long, userId As long) As void
Parameters 
Description 
selectedFriendUserId 
User ID of the friend to delete from user's selected friends list. 
userId 
ID of the user who is 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!