Class ModulePermissionController
Inheritance
ModulePermissionController
Assembly: DotNetNuke.dll
Syntax
public class ModulePermissionController
Constructors
ModulePermissionController()
Declaration
public ModulePermissionController()
Methods
CanAdminModule(ModuleInfo)
Declaration
public static bool CanAdminModule(ModuleInfo module)
Parameters
Returns
CanDeleteModule(ModuleInfo)
Declaration
public static bool CanDeleteModule(ModuleInfo module)
Parameters
Returns
CanEditModuleContent(ModuleInfo)
Declaration
public static bool CanEditModuleContent(ModuleInfo module)
Parameters
Returns
CanExportModule(ModuleInfo)
Declaration
public static bool CanExportModule(ModuleInfo module)
Parameters
Returns
CanImportModule(ModuleInfo)
Declaration
public static bool CanImportModule(ModuleInfo module)
Parameters
Returns
CanManageModule(ModuleInfo)
Declaration
public static bool CanManageModule(ModuleInfo module)
Parameters
Returns
CanViewModule(ModuleInfo)
Declaration
public static bool CanViewModule(ModuleInfo module)
Parameters
Returns
DeleteModulePermissionsByUser(UserInfo)
Declaration
public static void DeleteModulePermissionsByUser(UserInfo user)
Parameters
GetModulePermissions(int, int)
Declaration
public static ModulePermissionCollection GetModulePermissions(int moduleId, int tabId)
Parameters
Type |
Name |
Description |
int |
moduleId |
|
int |
tabId |
|
Returns
HasModuleAccess(SecurityAccessLevel, string, ModuleInfo)
Declaration
public static bool HasModuleAccess(SecurityAccessLevel accessLevel, string permissionKey, ModuleInfo moduleConfiguration)
Parameters
Returns
HasModulePermission(ModulePermissionCollection, string)
Declaration
public static bool HasModulePermission(ModulePermissionCollection modulePermissions, string permissionKey)
Parameters
Returns
ImplicitRoles(int)
Declaration
public static IEnumerable<RoleInfo> ImplicitRoles(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
SaveModulePermissions(ModuleInfo)
Declaration
public static void SaveModulePermissions(ModuleInfo module)
Parameters
Extension Methods