public UsersViewModel(string username, string mappedname) { this.ObjectPickerCommand = new ActionCommand(this.ObjectPicker, () => true); this.UserMapCommand = new ActionCommand(this.UserMap, () => true); this.AddCommand = new ActionCommand(this.Add, () => true); this.RemoveCommand = new ActionCommand(this.Remove, () => true); this.SaveCSVCommand = new ActionCommand(this.SaveCSV, () => true); this.BackCommand = new ActionCommand(this.Back, () => true); this.NextCommand = new ActionCommand(this.Next, () => true); this.Username = username; this.MappedName = mappedname; this.OPInfo = new ObjectPickerInfo("", "", "", ""); this.IsProvisioned = false; this.MustChangePassword = false; this.EnablePopButtons = true; this.DomainsFilledIn = false; }
private void AddOPInfo(ObjectPickerInfo info) { OPInfo.DisplayName = info.DisplayName; OPInfo.GivenName = info.GivenName; OPInfo.Sn = info.Sn; OPInfo.Zfp = info.Zfp; }