Sets a Folders Permissions to the Administrator Role
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.SetFolderPermissions(IFolderInfo folder, int administratorRoleId) ")] public static void SetFolderPermissions( int portalId, int folderId, int administratorRoleId, string relativePath ) |
Visual Basic |
---|
<EditorBrowsableAttribute(EditorBrowsableState.Never)> <ObsoleteAttribute("Deprecated in DNN 6.0. It has been replaced by FolderManager.Instance.SetFolderPermissions(IFolderInfo folder, int administratorRoleId) ")> Public Shared Sub SetFolderPermissions ( portalId As Integer, folderId As Integer, administratorRoleId As Integer, relativePath As String ) |
Parameters
- portalId
- Type: System..::..Int32
The Id of the Portal
- folderId
- Type: System..::..Int32
The Id of the Folder
- administratorRoleId
- Type: System..::..Int32
The Id of the Administrator Role
- relativePath
- Type: System..::..String
The folder's Relative Path