Click or drag to resize
RoleApplicationInfoProviderAddRoleToUIelement Method

Note: This API is now obsolete.

Creates RoleApplicationInfo binding.

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

Parameters

roleId
Type: SystemInt32
Role ID
uielementId
Type: SystemInt32
UI element ID
See Also