WidgetRoleInfoProviderAddRoleToWidget Method |
Adds specified role and permission to the widget.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
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