2024-03-06 16:14:36 +01:00

31 lines
1.3 KiB
C#

using DigitalData.Core.Attributes;
namespace DigitalData.Core.ConsoleApp
{
[ADFilter("(&(objectClass=group) (samAccountName=*))")]
public class ADGroup
{
public string ObjectSid { get; set; }
public string ObjectCategory { get; set; }
public int SamAccountType { get; set; }
public string DistinguishedName { get; set; }
public int InstanceType { get; set; }
public string Name { get; set; }
public string CN { get; set; }
public List<string> ObjectClass { get; set; } = new();
public DateTime WhenChanged { get; set; }
public Guid ObjectGuid { get; set; }
public long UsnCreated { get; set; }
public string SAMAccountName { get; set; }
public int? GroupType { get; set; }
public DateTime? DsCorePropagationData { get; set; }
public int? AdminCount { get; set; }
public int? SystemFlags { get; set; }
public List<string> Member { get; set; } = new();
public string AdsPath { get; set; }
public long UsnChanged { get; set; }
public DateTime WhenCreated { get; set; }
public string Description { get; set; }
public bool? IsCriticalSystemObject { get; set; }
}
}