Class FolderPermissionController
Inheritance
FolderPermissionController
Assembly: DotNetNuke.dll
Syntax
public class FolderPermissionController : ServiceLocator<IFolderPermissionController, FolderPermissionController>, IFolderPermissionController
Constructors
FolderPermissionController()
Declaration
public FolderPermissionController()
Methods
CanAddFolder(FolderInfo)
Declaration
public static bool CanAddFolder(FolderInfo folder)
Parameters
Returns
CanAdminFolder(FolderInfo)
Declaration
public static bool CanAdminFolder(FolderInfo folder)
Parameters
Returns
CanBrowseFolder(FolderInfo)
Declaration
public static bool CanBrowseFolder(FolderInfo folder)
Parameters
Returns
CanCopyFolder(FolderInfo)
Declaration
public static bool CanCopyFolder(FolderInfo folder)
Parameters
Returns
CanDeleteFolder(FolderInfo)
Declaration
public static bool CanDeleteFolder(FolderInfo folder)
Parameters
Returns
CanManageFolder(FolderInfo)
Declaration
public static bool CanManageFolder(FolderInfo folder)
Parameters
Returns
CanViewFolder(FolderInfo)
Declaration
public static bool CanViewFolder(FolderInfo folder)
Parameters
Returns
CopyPermissionsToSubfolders(IFolderInfo, FolderPermissionCollection)
Declaration
public static void CopyPermissionsToSubfolders(IFolderInfo folder, FolderPermissionCollection newPermissions)
Parameters
DeleteFolderPermissionsByUser(UserInfo)
Declaration
public static void DeleteFolderPermissionsByUser(UserInfo objUser)
Parameters
GetFactory()
Declaration
protected override Func<IFolderPermissionController> GetFactory()
Returns
Overrides
GetFolderPermissionsCollectionByFolder(int, string)
Declaration
public static FolderPermissionCollection GetFolderPermissionsCollectionByFolder(int portalID, string folder)
Parameters
Type |
Name |
Description |
int |
portalID |
|
string |
folder |
|
Returns
HasFolderPermission(FolderPermissionCollection, string)
Declaration
public static bool HasFolderPermission(FolderPermissionCollection objFolderPermissions, string permissionKey)
Parameters
Returns
HasFolderPermission(int, string, string)
Declaration
public static bool HasFolderPermission(int portalId, string folderPath, string permissionKey)
Parameters
Returns
ImplicitRoles(int)
Declaration
public static IEnumerable<RoleInfo> ImplicitRoles(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
SaveFolderPermissions(FolderInfo)
Declaration
public static void SaveFolderPermissions(FolderInfo folder)
Parameters
SaveFolderPermissions(IFolderInfo)
Declaration
public static void SaveFolderPermissions(IFolderInfo folder)
Parameters
Implements
Extension Methods