PermissionNameInfoProviderCreateClassPermission Method (Int32, String, String, Int32, String) |
Sets default permission for the new class.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 8.2.23
Syntax public static void CreateClassPermission(
int classId,
string permissionName,
string permissionDisplayName,
int permissionOrder,
string permissionDescription
)
Parameters
- classId
- Type: SystemInt32
Class Id - permissionName
- Type: SystemString
Permission name - permissionDisplayName
- Type: SystemString
Permission display name - permissionOrder
- Type: SystemInt32
Permission order - permissionDescription
- Type: SystemString
Permission description
See Also