Click or drag to resize
FriendInfoProvider.GetApprovedUserFriends 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: System.Int32
ID of user
where
Type: System.String
Where condition
orderBy
Type: System.String
Order by clause
topN
Type: System.Int32
Number of records to return
columns
Type: System.String
Columns to select, null or empty returns all columns

Return Value

Type: InfoDataSet<FriendInfo>
See Also