Click or drag to resize
RoleUIElementInfoProviderAddRoleUIElementInfo Method

Note: This API is now obsolete.

Add specified role UI Element.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IRoleUIElementInfoProvider.Add(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - RoleUIElementInfo.Provider.")]
public static void AddRoleUIElementInfo(
	int roleId,
	int elementId
)

Parameters

roleId
Type: SystemInt32
RoleID
elementId
Type: SystemInt32
ElementID
See Also