Click or drag to resize
ModuleCommandsCommunityGetUserFriendshipRelations Method
Gets the friends for the given user.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static DataSet CommunityGetUserFriendshipRelations(
	int userId,
	string orderBy,
	int topN,
	string columns
)

Parameters

userId
Type: SystemInt32
User ID
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: DataSet
See Also