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

Returns true if FriendUserId and UserID are friends. 

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 = "IsFriend", Description = "Returns true if the FriendUserId and UserID are friends.")]
public bool IsFriend(long friendUserId, long userId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "IsFriend", Description = "Returns true if the FriendUserId and UserID are friends.")>
Public Function IsFriend(friendUserId As long, userId As long) As bool
Parameters 
Description 
friendUserId 
First user ID. 
userId 
Second user ID. 

Returns true if FriendUserId and UserID are friends, 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!