Get all categories

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function GetCategories( _ 
ByVal forum_id As EntityID, _ 
ByVal user_id As EntityID, _ 
ByVal db As IDatabase
) As List(Of ForumCategory)
This language is not supported or no code example is available.
public static List<ForumCategory> GetCategories( 
EntityID forum_id
EntityID user_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static List<ForumCategory^>^ GetCategories( 
EntityID^ forum_id
EntityID^ user_id
IDatabase^ db 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

forum_id
Type: EntityID

the id of the forum

user_id
Type: EntityID

the user id we want to do this in the context of - null if you want all forums

db
Type: IDatabase

the db to use

Return Value

Type: List<ForumCategory>

the list of forums

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1