Click or drag to resize
GroupRolePermissionInfoProviderAddRoleToGroup Method
Adds role to specified group.

Namespace: CMS.Community
Assembly: CMS.Community (in CMS.Community.dll) Version: 11.0.0
Syntax
C#
public static void AddRoleToGroup(
	int roleId,
	int groupId,
	int permissionId
)

Parameters

roleId
Type: SystemInt32
RoleID
groupId
Type: SystemInt32
GroupID
permissionId
Type: SystemInt32
PermissionID
See Also