ContactListInfoProviderGetContactList Method (Int32, String, String, Int32, String, Int32, Int32, Int32) |
Returns all users from user's contactlist.
Namespace: CMS.MessagingAssembly: CMS.Messaging (in CMS.Messaging.dll) Version: 8.2.23
Syntax public static InfoDataSet<ContactListInfo> GetContactList(
int ownerId,
string where,
string orderBy,
int topN,
string columns,
int offset,
int maxRecords,
ref int totalRecords
)
Parameters
- ownerId
- Type: SystemInt32
User ID - where
- Type: SystemString
Where condition - orderBy
- Type: SystemString
Order by clause - topN
- Type: SystemInt32
Select only top N columns - columns
- Type: SystemString
Specifies columns to be selected - offset
- Type: SystemInt32
Index of first record to get - maxRecords
- Type: SystemInt32
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used) - totalRecords
- Type: SystemInt32
Returns total records
Return Value
Type:
InfoDataSetContactListInfoSee Also