Click or drag to resize
PermissionNameInfoProvider.CreateClassPermission Method (Int32, String, String, Int32)
Sets default permission for the new class.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 12.0.0
Syntax
C#
public static void CreateClassPermission(
	int classId,
	string permissionName,
	string permissionDisplayName,
	int permissionOrder
)

Parameters

classId
Type: System.Int32
Class Id
permissionName
Type: System.String
Permission name
permissionDisplayName
Type: System.String
Permission display name
permissionOrder
Type: System.Int32
Permission order
See Also