internal SecurityIdentifier AppendTo(SecurityIdentifier sidId)
        {
            var subs = sidId.SubAuthorities.Union(SubAuthorities).ToArray();

            return(new SecurityIdentifier(sidId.authority, subs, this.Attributes));
        }
 public SecurityIdentifier(SecurityIdentifier sid, SidAttributes attributes)
     : this(sid.authority, sid.SubAuthorities, attributes)
 {
 }