WidgetRoleInfoProviderAddRoleToWidget Method |
Adds specified role and permission to the widget.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 11.0.0
Syntax public static void AddRoleToWidget(
int roleId,
int widgetId,
int permissionId
)
Parameters
- roleId
- Type: SystemInt32
Role ID - widgetId
- Type: SystemInt32
Widget ID - permissionId
- Type: SystemInt32
Permission ID
See Also