Sets a Folders Permissions the same as the Folders parent folder
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Never)] [ObsoleteAttribute("Deprecated in DNN 6.0. It has been replaced by FolderManager.Instance.SetFolderPermission(IFolderInfo folder, int permissionId, int roleId) ")] public static void SetFolderPermission( int portalId, int folderId, int permissionId, int roleId, string relativePath ) |
Visual Basic |
---|
<EditorBrowsableAttribute(EditorBrowsableState.Never)> <ObsoleteAttribute("Deprecated in DNN 6.0. It has been replaced by FolderManager.Instance.SetFolderPermission(IFolderInfo folder, int permissionId, int roleId) ")> Public Shared Sub SetFolderPermission ( portalId As Integer, folderId As Integer, permissionId As Integer, roleId As Integer, relativePath As String ) |
Parameters
- portalId
- Type: System..::..Int32
The Id of the Portal
- folderId
- Type: System..::..Int32
The Id of the Folder
- permissionId
- Type: System..::..Int32
parampermissionIdM:DotNetNuke.Common.Utilities.FileSystemUtils.SetFolderPermission(System.Int32,System.Int32,System.Int32,System.Int32,System.String)
- roleId
- Type: System..::..Int32
paramroleIdM:DotNetNuke.Common.Utilities.FileSystemUtils.SetFolderPermission(System.Int32,System.Int32,System.Int32,System.Int32,System.String)
- relativePath
- Type: System..::..String
The folder's Relative Path