Ektron CMS400.NET API Documentation
|
Checks to see if a user is the colleague of another user by providing both colleague's ID information. In the friendUserID, enter the colleague's ID who you want to check. In the userID, enter the user you are checking against. Returns True when the users are colleagues. For example, if you want to find out whether Jim is a colleague of Tom, enter Jim's user ID in the friendUserId parameter and Tom's user ID in the userId parameter. If Jim and Tom are colleagues, this method returns true.
public Boolean IsFriend(Long friendUserId, Long userId);
Public Function IsFriend(ByVal friendUserId As Long, ByVal userId As Long) As Boolean
Parameters |
Description |
friendUserId |
first userId |
userId |
second userId |
Returns true if FriendUserId and UserID are colleagues, else false.
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|