Click or drag to resize
FriendInfoProviderGetUserFriendshipRelations Method
Gets all user friendship relations.

Namespace: CMS.Community
Assembly: CMS.Community (in CMS.Community.dll) Version: 8.2.23
Syntax
C#
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: InfoDataSetFriendInfo
DataSet with friends.
See Also