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