Search Results for

    Show / Hide Table of Contents

    Class CurrentUserSecurity

    Helper to check the access level on a file/directory for the current user

    Inheritance
    System.Object
    CurrentUserSecurity
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.PatchInstaller
    Assembly: Simplic.PatchInstaller.dll
    Syntax
    public class CurrentUserSecurity

    Constructors

    | Improve this Doc View Source

    CurrentUserSecurity()

    Declaration
    public CurrentUserSecurity()

    Methods

    | Improve this Doc View Source

    HasAccess(DirectoryInfo, FileSystemRights)

    Declaration
    public bool HasAccess(DirectoryInfo directory, FileSystemRights right)
    Parameters
    Type Name Description
    System.IO.DirectoryInfo directory
    System.Security.AccessControl.FileSystemRights right
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    HasAccess(FileInfo, FileSystemRights)

    Declaration
    public bool HasAccess(FileInfo file, FileSystemRights right)
    Parameters
    Type Name Description
    System.IO.FileInfo file
    System.Security.AccessControl.FileSystemRights right
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx