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

Get another user's friend status in relation to you. For instance, user "A" may be a friend to User "B". User "C" may be a pending friend to User "D". 

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 = "GetFriendStatus", Description = "Get another user's friend status in relation to you.  For instance, user A may be  a friend to User B.  User C may be a pending friend to User D.")]
public EkEnumeration.FriendStatus GetFriendStatus(long friendUserId, long userId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetFriendStatus", Description = "Get another user's friend status in relation to you.  For instance, user A may be  a friend to User B.  User C may be a pending friend to User D.")>
Public Function GetFriendStatus(friendUserId As long, userId As long) As EkEnumeration.FriendStatus
Parameters 
Description 
friendUserId 
User to get status. 
userId 
User seeking status. 

FriendStatus enumeration.

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!