Click or drag to resize
BlogHelperGetBlogs Method
Returns all blogs from specified site, optionally owned by specified user or moderated by specified user.

Namespace: CMS.Blogs
Assembly: CMS.Blogs (in CMS.Blogs.dll) Version: 8.2.23
Syntax
C#
public static DataSet GetBlogs(
	string siteName,
	int ownerId = 0,
	string moderator = null,
	string columns = null,
	string customWhere = null
)

Parameters

siteName
Type: SystemString
Site name
ownerId (Optional)
Type: SystemInt32
Blog owner (user ID)
moderator (Optional)
Type: SystemString
Blog moderator (user name)
columns (Optional)
Type: SystemString
Columns to be selected
customWhere (Optional)
Type: SystemString
Additional WHERE condition

Return Value

Type: DataSet
See Also