BlogHelperGetBlogs Method |
Returns all blogs from specified site, optionally owned by specified user or moderated by specified user.
Namespace: CMS.BlogsAssembly: CMS.Blogs (in CMS.Blogs.dll) Version: 12.0.0
Syntax 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:
DataSetSee Also