Show / Hide Table of Contents

    Class PermissionsExtensions

    Extension methods for IUnixPermissions.

    Inheritance
    Object
    PermissionsExtensions
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public static class PermissionsExtensions

    Methods

    | Improve this Doc View Source

    GetAccessModeFor(IUnixPermissions, IUnixOwner, IFtpUser)

    Gets the effective access mode for an entity for the given user.

    Declaration
    [Obsolete("Use the overload with ClaimsPrincipal.")]
    public static IAccessMode GetAccessModeFor(this IUnixPermissions permissions, IUnixOwner entity, IFtpUser user)
    Parameters
    Type Name Description
    IUnixPermissions permissions

    The permissions used to build the access mode.

    IUnixOwner entity

    The entity owner information.

    IFtpUser user

    The FTP user to determine the access mode for.

    Returns
    Type Description
    IAccessMode

    The effective access mode for the user.

    | Improve this Doc View Source

    GetAccessModeFor(IUnixPermissions, IUnixOwner, ClaimsPrincipal)

    Gets the effective access mode for an entity for the given user.

    Declaration
    public static IAccessMode GetAccessModeFor(this IUnixPermissions permissions, IUnixOwner entity, ClaimsPrincipal user)
    Parameters
    Type Name Description
    IUnixPermissions permissions

    The permissions used to build the access mode.

    IUnixOwner entity

    The entity owner information.

    ClaimsPrincipal user

    The FTP user to determine the access mode for.

    Returns
    Type Description
    IAccessMode

    The effective access mode for the user.

    • 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.