API Reference
Class
GpoPermission
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
- Display name of the GPO.
- guid System.Guid
- Identifier of the GPO.
- domainName System.String
- Domain in which the GPO resides.
- permissionType ADPlayground.Gpo.GpoPermissionType
- Permission type such as Allow or Deny.
- permission ADPlayground.Gpo.GpoPermissionRight
- Specific permission granted.
- inherited System.Boolean
- Indicates whether the permission is inherited.
- principalSid System.String
- SID of the principal.
Inherited Methods
Properties
public String DomainName { get; } #Domain in which the GPO resides.
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 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.