Click or drag to resize
FriendInfoProviderGetApprovedUserFriends Method

Note: This API is now obsolete.

Gets strictly friends for given user with full user information.

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

Parameters

userId
Type: SystemInt32
ID of user
where
Type: SystemString
Where condition
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
See Also