db73cc1a12
AD Interop moved to Disco.Services; Supports multi-domain environments, sites, and searching restricted with OUs.
21 lines
612 B
C#
21 lines
612 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Disco.Models.Interop.ActiveDirectory
|
|
{
|
|
public class ActiveDirectoryGroup : IActiveDirectoryObject
|
|
{
|
|
public string Domain { get; set; }
|
|
public string SamAccountName { get; set; }
|
|
|
|
public string DistinguishedName { get; set; }
|
|
public string SecurityIdentifier { get; set; }
|
|
public string CommonName { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public List<string> MemberOf { get; set; }
|
|
|
|
public string NetBiosId { get { return string.Format(@"{0}\{1}", Domain, SamAccountName); } }
|
|
}
|
|
}
|