FriendInfoProviderGetUserFriendshipRelations Method |
Gets all user friendship relations.
Namespace: CMS.CommunityAssembly: CMS.Community (in CMS.Community.dll) Version: 8.2.23
Syntax public static InfoDataSet<FriendInfo> GetUserFriendshipRelations(
int userId,
string orderBy,
int topN,
string columns
)
Parameters
- userId
- Type: SystemInt32
ID of user - orderBy
- Type: SystemString
Order by clause - topN
- Type: SystemInt32
Number of records to return - columns
- Type: SystemString
Columns to select, null or empty returns all columns
Return Value
Type:
InfoDataSetFriendInfoDataSet with friends.
See Also