TestimoX

API Reference

Class

GpoPermission

Namespace ADPlayground.Gpo
Assembly ADPlayground
Modifiers sealed

Represents resolved permission information for a GPO.

Inheritance

  • Object
  • GpoPermission

Constructors

public GpoPermission(String displayName, Guid guid, String domainName, GpoPermissionType permissionType, GpoPermissionRight permission, Boolean inherited, String principalSid) #

Initializes a new instance of the GpoPermission class.

Parameters

displayName System.String requiredposition: 0
Display name of the GPO.
guid System.Guid requiredposition: 1
Identifier of the GPO.
domainName System.String requiredposition: 2
Domain in which the GPO resides.
permissionType ADPlayground.Gpo.GpoPermissionType requiredposition: 3
Permission type such as Allow or Deny.
permission ADPlayground.Gpo.GpoPermissionRight requiredposition: 4
Specific permission granted.
inherited System.Boolean requiredposition: 5
Indicates whether the permission is inherited.
principalSid System.String requiredposition: 6
SID of the principal.

Properties

public String DisplayName { get; } #

Display name of the GPO.

public Guid Guid { get; } #

Identifier of the GPO.

public String DomainName { get; } #

Domain in which the GPO resides.

public String Enabled { get; set; } #

Status of the GPO.

public String Description { get; set; } #

Description of the GPO.

public DateTime CreationDate { get; set; } #

Creation time of the GPO.

public DateTime ModificationTime { get; set; } #

Last modification time.

public GpoPermissionType PermissionType { get; } #

Permission type such as Allow or Deny.

public GpoPermissionRight Permission { get; } #

Specific permission granted.

public Boolean Inherited { get; } #

Indicates whether the permission is inherited.

public String PrincipalNetBiosName { get; set; } #

NetBIOS name of the principal.

public String PrincipalDistinguishedName { get; set; } #

Distinguished name of the principal.

public String PrincipalDomainName { get; set; } #

Domain name of the principal.

public String PrincipalName { get; set; } #

Display name of the principal.

public String PrincipalSid { get; } #

SID of the principal.

public String PrincipalSidType { get; set; } #

Type of the SID.

public String PrincipalObjectClass { get; set; } #

Object class of the principal.

public Object GpoObject { get; set; } #

Underlying GPO object when available.

public Object GpoSecurity { get; set; } #

Underlying security descriptor when available.

public Object GpoSecurityPermissionItem { get; set; } #

Security permission item for the GPO.