Class ModulePermission
- Namespace
- Dynamicweb.Security.UserManagement
- Assembly
- Dynamicweb.Security.dll
Represents permission rights for a single module.
public class ModulePermission
- Inheritance
-
ModulePermission
- Inherited Members
Properties
Access
Gets or sets "Access" permission.
public ModulePermissionAccess Access { get; set; }
Property Value
- ModulePermissionAccess
- "Access" permission.
Categories
Gets or sets categories for which access is allowed.
public IDCollection Categories { get; set; }
Property Value
- IDCollection
- Categories for which access is allowed.
Create
Gets or sets "Create" permission
public ModulePermissionAccess Create { get; set; }
Property Value
- ModulePermissionAccess
- "Create" permission.
Delete
Gets or sets "Delete" permission.
public ModulePermissionAccess Delete { get; set; }
Property Value
- ModulePermissionAccess
- "Delete" permission.
Edit
Gets or sets "Edit" permission..
public ModulePermissionAccess Edit { get; set; }
Property Value
- ModulePermissionAccess
- "Edit" permission.
Methods
GetModulePermissionAccess(string)
Gets module permission item
public ModulePermissionAccess GetModulePermissionAccess(string permissionAccessName)
Parameters
permissionAccessName
string- Permission access name
Returns
SetModulePermissionAccess(string, ModulePermissionAccess)
Sets module permission item
public void SetModulePermissionAccess(string permissionAccessName, ModulePermissionAccess value)
Parameters
permissionAccessName
string- Permission access name
value
ModulePermissionAccess- Module permission item