Click or drag to resize
FriendInfoProviderGetFriends Method (String, String, Int32, String)

Note: This API is now obsolete.

Gets all friends filtered out by where condition and ordered by given expression.

Namespace: CMS.Community
Assembly: CMS.Community (in CMS.Community.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("Use GetFriends() instead.")]
public static InfoDataSet<FriendInfo> GetFriends(
	string where,
	string orderBy,
	int topN = 0,
	string columns = null
)

Parameters

where
Type: SystemString
Where condition
orderBy
Type: SystemString
Order by clause
topN (Optional)
Type: SystemInt32
Number of records to return
columns (Optional)
Type: SystemString
Columns to select, null or empty returns all columns

Return Value

Type: InfoDataSetFriendInfo
DataSet with friends.
See Also