e984221c95
User Attachments updated in the DataStore to reflect new UserId (which includes the domain); AD Groups were using DnsName instead of NetBiosName.
22 lines
676 B
C#
22 lines
676 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 string DisplayName { get { return this.Name; } }
|
|
|
|
public List<string> MemberOf { get; set; }
|
|
|
|
public string NetBiosId { get { return string.Format(@"{0}\{1}", Domain, SamAccountName); } }
|
|
}
|
|
}
|