Click or drag to resize
WidgetRoleInfoProviderGetWidgetRoles Method

Note: This API is now obsolete.

Returns all widget-role bindings according to parameters.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("Use method GetWidgetRoleInfos() instead")]
public static InfoDataSet<WidgetRoleInfo> GetWidgetRoles(
	string where,
	string orderBy,
	int topN,
	string columns
)

Parameters

where
Type: SystemString
Where condition to filter data
orderBy
Type: SystemString
Order by statement
topN
Type: SystemInt32
Number of items that should be returned (all if 0)
columns
Type: SystemString
Column names

Return Value

Type: InfoDataSetWidgetRoleInfo
See Also