TestimoX

API Reference

Class

GpoNetLogonFile

Namespace ADPlayground.Gpo
Assembly ADPlayground
Modifiers sealed

Represents a file found under NetLogon or SYSVOL with associated permissions.

Inheritance

  • Object
  • GpoNetLogonFile

Constructors

public GpoNetLogonFile(String fullName, String status, String domainName, String extension, DateTime creationTime, DateTime lastAccessTime, DateTime lastWriteTime, FileAttributes attributes, String fullNameOnSysVol, Int64 size) #

Initializes a new instance of the GpoNetLogonFile class.

Parameters

fullName System.String requiredposition: 0
Full path of the file.
status System.String requiredposition: 1
Assessment status of the file.
domainName System.String requiredposition: 2
Domain where the file resides.
extension System.String requiredposition: 3
File extension.
creationTime System.DateTime requiredposition: 4
Creation time of the file.
lastAccessTime System.DateTime requiredposition: 5
Last access time.
lastWriteTime System.DateTime requiredposition: 6
Last write time.
attributes System.IO.FileAttributes requiredposition: 7
File attributes.
fullNameOnSysVol System.String requiredposition: 8
Full path to the file on SYSVOL.
size System.Int64 requiredposition: 9
Size of the file in bytes.

Properties

public String FullName { get; } #

Full path of the file.

public String Status { get; } #

Status assessment of the file.

public String DomainName { get; } #

Domain where the file resides.

public String Extension { get; } #

File extension.

public DateTime CreationTime { get; } #

Creation time of the file.

public DateTime LastAccessTime { get; } #

Last access time of the file.

public DateTime LastWriteTime { get; } #

Last write time of the file.

public FileAttributes Attributes { get; } #

File attributes.

public Double SizeMb { get; set; } #

Size of the file in megabytes.

public Nullable<AccessControlType> AccessControlType { get; set; } #

Type of access control.

public String Principal { get; set; } #

Principal name.

public String PrincipalSid { get; set; } #

SID of the principal.

public String PrincipalType { get; set; } #

Type of the principal.

public String PrincipalObjectClass { get; set; } #

Object class of the principal.

public Nullable<FileSystemRights> FileSystemRights { get; set; } #

Rights granted to the principal.

public Nullable<Boolean> IsInherited { get; set; } #

Indicates whether the permission is inherited.

public String FullNameOnSysVol { get; } #

Full path to the file on SYSVOL.

public Int64 Size { get; } #

Size of the file in bytes.

public String Owner { get; set; } #

Owner name of the file.

public String OwnerSid { get; set; } #

SID of the owner.

public String OwnerType { get; set; } #

Owner type.