-
-
Notifications
You must be signed in to change notification settings - Fork 161
/
RootPerUserAccountDirectoryQueryOptions.cs
38 lines (34 loc) · 1.34 KB
/
RootPerUserAccountDirectoryQueryOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// <copyright file="RootPerUserAccountDirectoryQueryOptions.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
using System.ComponentModel;
namespace FubarDev.FtpServer.AccountManagement.Directories.RootPerUser
{
/// <summary>
/// Options for the <see cref="RootPerUserAccountDirectoryQuery"/>.
/// </summary>
public class RootPerUserAccountDirectoryQueryOptions
{
/// <summary>
/// Gets or sets the normal authenticated users root directory.
/// </summary>
/// <remarks>
/// This path is relative to the file systems root path.
/// </remarks>
public string? UserRootDirectory { get; set; }
/// <summary>
/// Gets or sets the anonymous root directory.
/// </summary>
/// <remarks>
/// Anonymous users will have the root <c>anonymous</c> if this
/// property isn't set.
/// This path is relative to the file systems root path.
/// </remarks>
[DefaultValue("anonymous")]
public string? AnonymousRootDirectory { get; set; }
/// <summary>
/// Gets or sets a value indicating whether anonymous users should have their own (per-email) root directory.
/// </summary>
public bool AnonymousRootPerEmail { get; set; }
}
}