[This is preliminary documentation and is subject to change.]
Returns a dataset of all the Forums belonging to the
currently selected Group.
Namespace:
OfficeClip.DBLayer.OfficePortalAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public DataSet GetForums( bool allGroups, int userId, int groupId ) |
Visual Basic (Declaration) |
---|
Public Function GetForums ( _ allGroups As Boolean, _ userId As Integer, _ groupId As Integer _ ) As DataSet |
Visual C++ |
---|
public: DataSet^ GetForums( bool allGroups, int userId, int groupId ) |
Parameters
- allGroups
- Type: System..::.Boolean
Flag indicating whether to get a list of forums belonging to all groups or the currently selected group.
- userId
- Type: System..::.Int32
The unique identifier for the user.
- groupId
- Type: System..::.Int32
The unique identifier for the group.
Return Value
The Dataset containg the list of all the Forums belonging to the currently selected Group DataSet consists of a single table with the following columns.- ForumId (System.Int32) Id of the forum.
- ForumName (System.String) Name of the forum.
- ForumDesc Forum Description.
- GroupId (System.Int32) Id of the group to which the forum belongs.
- ForumCount (System.Int32) Number of topics / replies created inside the forum.
- LastPostedTimestamp (System.DateTime) Date and Time when the last posting was made in this forum.
- createdByUserId (System.Int32) Id of the user who created the forum.
- UserName Name of the user who created the forum.