Click or drag to resize
WidgetRoleInfoProvider.GetWidgetRoles 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: System.String
Where condition to filter data
orderBy
Type: System.String
Order by statement
topN
Type: System.Int32
Number of items that should be returned (all if 0)
columns
Type: System.String
Column names

Return Value

Type: InfoDataSet<WidgetRoleInfo>
See Also