Class PermissionsFact
The perm
fact.
Implements
Inherited Members
Namespace: FubarDev.FtpServer.ListFormatters.Facts
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public class PermissionsFact : IFact
Constructors
| Improve this Doc View SourcePermissionsFact(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 |
IUnixDirectoryEntry | dir | The current directory. |
IUnixFileEntry | entry | The file to create the permissions for. |
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. |
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 |
IUnixDirectoryEntry | dir | The current directory. |
IUnixFileEntry | entry | The file to create the permissions for. |
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 SourceName
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
Value
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
String |