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

Check if a user is a selected friend of another user. 

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 = "IsSelectedFriend", Description = "Check if a user is a selected friend of another user.")]
public bool IsSelectedFriend(long friendUserId, long userId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "IsSelectedFriend", Description = "Check if a user is a selected friend of another user.")>
Public Function IsSelectedFriend(friendUserId As long, userId As long) As bool
Parameters 
Description 
friendUserId 
User ID to check for in selected friends list. 
userId 
ID of user who is checking for selected friend. 

True if friendUserId is in the selected friends list of UserId, else false.

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!