/// <summary> /// Initialize a new WindowsUser with an initial group. /// </summary> /// <param name="initialGroup">Adds the user to this group.</param> public WindowsUser( string username, string password, string fullName, string description, WindowsUserFlag flags, WindowsUserGroup initialGroup) : this(username, password, fullName, description, flags) { this.Groups.Add(initialGroup); }
/// <summary> /// Initialize a new WindowsUser with an initial group. /// </summary> /// <param name="initialGroup">Adds the user to this group.</param> internal WindowsUser( string username, string password, string fullName, string description, WindowsUserFlag flags, SecurityIdentifier sid, WindowsUserGroup initialGroup) : this(username, password, fullName, description, flags, sid) { this.Groups.Add(initialGroup); }