Class FilePermissionHelper
Helper to test File and folder permissions
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.Install
Assembly: Umbraco.Infrastructure.dll
Syntax
public class FilePermissionHelper : IFilePermissionHelper
Constructors
View SourceFilePermissionHelper(IOptions<GlobalSettings>, IIOHelper, IHostingEnvironment)
Initializes a new instance of the FilePermissionHelper class.
Declaration
public FilePermissionHelper(IOptions<GlobalSettings> globalSettings, IIOHelper ioHelper, IHostingEnvironment hostingEnvironment)
Parameters
Type | Name | Description |
---|---|---|
IOptions<GlobalSettings> | globalSettings | |
IIOHelper | ioHelper | |
IHostingEnvironment | hostingEnvironment |
Methods
View SourceRunFilePermissionTestSuite(out Dictionary<FilePermissionTest, IEnumerable<String>>)
Declaration
public bool RunFilePermissionTestSuite(out Dictionary<FilePermissionTest, IEnumerable<string>> report)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<FilePermissionTest, IEnumerable<System.String>> | report |
Returns
Type | Description |
---|---|
System.Boolean |