コード例 #1
0
 public AdUser(LdapEntry principal, IEnumerable <AdGroup> groups = null)
 {
     Name     = principal.GetDisplayName();
     Login    = principal.GetUniqueName();
     Mail     = principal.GetMail();
     Phone    = principal.GetPhone();
     Company  = principal.GetCompany();
     AdGroups = groups;
 }