Show / Hide Table of Contents

    Class PermissionsFact

    The perm fact.

    Inheritance
    Object
    PermissionsFact
    Implements
    IFact
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer.ListFormatters.Facts
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public class PermissionsFact : IFact

    Constructors

    | Improve this Doc View Source

    PermissionsFact(IFtpUser, IUnixFileSystem, IUnixDirectoryEntry, IUnixFileEntry)

    Initializes a new instance of the PermissionsFact class.

    Declaration
    [Obsolete("Use the overload with ClaimsPrincipal.")]
    public PermissionsFact(IFtpUser user, IUnixFileSystem fileSystem, IUnixDirectoryEntry dir, IUnixFileEntry entry)
    Parameters
    Type Name Description
    IFtpUser user

    The current user.

    IUnixFileSystem fileSystem

    The current file system of the given entry.

    IUnixDirectoryEntry dir

    The current directory.

    IUnixFileEntry entry

    The file to create the permissions for.

    | Improve this Doc View Source

    PermissionsFact(IFtpUser, Nullable<IUnixDirectoryEntry>, IUnixDirectoryEntry)

    Initializes a new instance of the PermissionsFact class.

    Declaration
    [Obsolete("Use the overload with ClaimsPrincipal.")]
    public PermissionsFact(IFtpUser user, IUnixDirectoryEntry? dir, IUnixDirectoryEntry entry)
    Parameters
    Type Name Description
    IFtpUser user

    The current user.

    Nullable<IUnixDirectoryEntry> dir

    The current directory.

    IUnixDirectoryEntry entry

    The directory entry to get the permissions for.

    | Improve this Doc View Source

    PermissionsFact(ClaimsPrincipal, IUnixFileSystem, IUnixDirectoryEntry, IUnixFileEntry)

    Initializes a new instance of the PermissionsFact class.

    Declaration
    public PermissionsFact(ClaimsPrincipal user, IUnixFileSystem fileSystem, IUnixDirectoryEntry dir, IUnixFileEntry entry)
    Parameters
    Type Name Description
    ClaimsPrincipal user

    The current user.

    IUnixFileSystem fileSystem

    The current file system of the given entry.

    IUnixDirectoryEntry dir

    The current directory.

    IUnixFileEntry entry

    The file to create the permissions for.

    | Improve this Doc View Source

    PermissionsFact(ClaimsPrincipal, Nullable<IUnixDirectoryEntry>, IUnixDirectoryEntry)

    Initializes a new instance of the PermissionsFact class.

    Declaration
    public PermissionsFact(ClaimsPrincipal user, IUnixDirectoryEntry? dir, IUnixDirectoryEntry entry)
    Parameters
    Type Name Description
    ClaimsPrincipal user

    The current user.

    Nullable<IUnixDirectoryEntry> dir

    The current directory.

    IUnixDirectoryEntry entry

    The directory entry to get the permissions for.

    Properties

    | Improve this Doc View Source

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Value

    Declaration
    public string Value { get; }
    Property Value
    Type Description
    String

    Implements

    IFact
    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2018 Fubar Development Junker
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.