Class TabPermissionController
Inheritance
TabPermissionController
Assembly: DotNetNuke.dll
Syntax
public class TabPermissionController
Constructors
TabPermissionController()
Declaration
public TabPermissionController()
Methods
CanAddContentToPage()
Declaration
public static bool CanAddContentToPage()
Returns
CanAddContentToPage(TabInfo)
Declaration
public static bool CanAddContentToPage(TabInfo tab)
Parameters
Returns
CanAddPage()
Declaration
public static bool CanAddPage()
Returns
CanAddPage(TabInfo)
Declaration
public static bool CanAddPage(TabInfo tab)
Parameters
Returns
CanAdminPage()
Declaration
public static bool CanAdminPage()
Returns
CanAdminPage(TabInfo)
Declaration
public static bool CanAdminPage(TabInfo tab)
Parameters
Returns
CanCopyPage()
Declaration
public static bool CanCopyPage()
Returns
CanCopyPage(TabInfo)
Declaration
public static bool CanCopyPage(TabInfo tab)
Parameters
Returns
CanDeletePage()
Declaration
public static bool CanDeletePage()
Returns
CanDeletePage(TabInfo)
Declaration
public static bool CanDeletePage(TabInfo tab)
Parameters
Returns
CanExportPage()
Declaration
public static bool CanExportPage()
Returns
CanExportPage(TabInfo)
Declaration
public static bool CanExportPage(TabInfo tab)
Parameters
Returns
CanImportPage()
Declaration
public static bool CanImportPage()
Returns
CanImportPage(TabInfo)
Declaration
public static bool CanImportPage(TabInfo tab)
Parameters
Returns
CanManagePage()
Declaration
public static bool CanManagePage()
Returns
CanManagePage(TabInfo)
Declaration
public static bool CanManagePage(TabInfo tab)
Parameters
Returns
CanNavigateToPage()
Declaration
public static bool CanNavigateToPage()
Returns
CanNavigateToPage(TabInfo)
Declaration
public static bool CanNavigateToPage(TabInfo tab)
Parameters
Returns
CanViewPage()
Declaration
public static bool CanViewPage()
Returns
CanViewPage(TabInfo)
Declaration
public static bool CanViewPage(TabInfo tab)
Parameters
Returns
DeleteTabPermissionsByUser(UserInfo)
Declaration
public static void DeleteTabPermissionsByUser(UserInfo user)
Parameters
GetTabPermissions(int, int)
Declaration
public static TabPermissionCollection GetTabPermissions(int tabId, int portalId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
portalId |
|
Returns
HasTabPermission(TabPermissionCollection, string)
Declaration
public static bool HasTabPermission(TabPermissionCollection tabPermissions, string permissionKey)
Parameters
Returns
HasTabPermission(string)
Declaration
public static bool HasTabPermission(string permissionKey)
Parameters
Type |
Name |
Description |
string |
permissionKey |
|
Returns
ImplicitRoles(int)
Declaration
public static IEnumerable<RoleInfo> ImplicitRoles(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
SaveTabPermissions(TabInfo)
Declaration
public static void SaveTabPermissions(TabInfo tab)
Parameters
Extension Methods