Class PortalPermissionController
Inheritance
PortalPermissionController
Assembly: DotNetNuke.dll
Syntax
public class PortalPermissionController
Constructors
PortalPermissionController()
Declaration
public PortalPermissionController()
Methods
CanAddTopLevel()
Declaration
public static bool CanAddTopLevel()
Returns
CanAddTopLevel(int)
Declaration
public static bool CanAddTopLevel(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
CanAdminPages()
Declaration
public static bool CanAdminPages()
Returns
CanAdminPages(int)
Declaration
public static bool CanAdminPages(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
DeletePortalPermissionsByUser(UserInfo)
Declaration
public static void DeletePortalPermissionsByUser(UserInfo user)
Parameters
GetPortalPermissions(int)
Declaration
public static PortalPermissionCollection GetPortalPermissions(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
HasPortalPermission(PortalPermissionCollection, string)
Declaration
public static bool HasPortalPermission(PortalPermissionCollection portalPermissions, string permissionKey)
Parameters
Returns
HasPortalPermission(string)
Declaration
public static bool HasPortalPermission(string permissionKey)
Parameters
Type |
Name |
Description |
string |
permissionKey |
|
Returns
SavePortalPermissions(PortalInfo)
Declaration
public static void SavePortalPermissions(PortalInfo portal)
Parameters
Extension Methods