Membership.GetAllUsers() adding a password field to be bound to a ListView
<p>Here is the method from my ObjectDataSoruce that gets all Members.</p>

<pre><code>    public MembershipUserCollection getUsers() {
        var members = Membership.GetAllUsers();
        members.Remove("Administrator"); //Can't manage the Administrator Account

        return members;
    }
</code></pre>

<p>This will return all the user information, however, it does not include the password. I want the user to press the Edit button from the list view and be able to provide a new password (it is not necessary that they know the old one).</p>

<p>This is bound to a ListView with the EditItemTemplate below</p>

<pre><code>    &lt;asp:ListView 
        ID="ScannerUsersListView" 
        runat="server" DataSourceID="ObjectDataSourceMembers" DataKeyNames="UserName"
        &gt;
        ...
            &lt;EditItemTemplate&gt;
                &lt;tr style=""&gt;
                    &lt;td&gt;
                        &lt;asp:Button ID="UpdateButton" runat="server" CommandName="Update" 
                            Text="Update" /&gt;
                        &lt;asp:Button ID="CancelButton" runat="server" CommandName="Cancel" 
                            Text="Cancel" /&gt;
                    &lt;/td&gt;
                    &lt;td&gt;
                        &lt;asp:Label ID="UserNameLabel" runat="server" 
                            Text='&lt;%# Eval("UserName") %&gt;' /&gt;
                    &lt;/td&gt;
                    &lt;td&gt;
                        &lt;asp:TextBox ID="PasswordTextBox" runat="server" Text='' /&gt;
                    &lt;/td&gt;
                    &lt;td&gt;
                        &lt;asp:TextBox ID="EmailTextBox" runat="server" Text='&lt;%# Bind("Email") %&gt;' /&gt;
                    &lt;/td&gt;
                    &lt;td&gt;
                        &lt;asp:TextBox ID="CommentTextBox" runat="server" Text='&lt;%# Bind("Comment") %&gt;' /&gt;
                    &lt;/td&gt;
                    &lt;td&gt;
                        &lt;asp:CheckBox ID="IsApprovedCheckBox" runat="server" 
                            Checked='&lt;%# Bind("IsApproved") %&gt;' /&gt;
                    &lt;/td&gt;
                    &lt;td&gt;
                        &lt;asp:Label ID="LastActivityDateLabel" runat="server" 
                            Text='&lt;%# Eval("LastActivityDate") %&gt;' /&gt;
                    &lt;/td&gt;
                    &lt;td&gt;
                        &lt;asp:CheckBox ID="IsOnlineCheckBox" runat="server" 
                            Checked='&lt;%# Eval("IsOnline") %&gt;' Enabled="false" /&gt;
                    &lt;/td&gt;

                &lt;/tr&gt;
            &lt;/EditItemTemplate&gt;
            ...
</code></pre>

<p>DataSource parameters like this</p>

<pre><code>    &lt;asp:ObjectDataSource ID="ObjectDataSourceMembers" runat="server" TypeName="StevedoreScannerWebClient.Data.MembershipManagement" 
        SelectMethod="getUsers"
        DeleteMethod="deleteUser" 
        UpdateMethod="updateUser"&gt;
        &lt;DeleteParameters&gt;
            &lt;asp:Parameter Name="username" Type="String" /&gt;
        &lt;/DeleteParameters&gt;
        &lt;UpdateParameters&gt;
            &lt;asp:Parameter Name="username" Type="String" /&gt;
            &lt;asp:Parameter Name="password" Type="String" /&gt;
            &lt;asp:Parameter Name="email" Type="String" /&gt;
            &lt;asp:Parameter Name="comment" Type="String" /&gt;
            &lt;asp:Parameter Name="isApproved" Type="Boolean" /&gt;
        &lt;/UpdateParameters&gt;
    &lt;/asp:ObjectDataSource&gt;
</code></pre>

<p>Now all the parameters work except the password because it is not bound to anything.  The Method <code>updateUser</code> gets a null for password.</p>

<p>The update method looks like this</p>

<pre><code>    public void updateUser(string username, string password, string email, string comment, bool isApproved)
    {
        //Update member details
        MembershipUser member = Membership.GetUser(username);
        member.Email = email;
        member.Comment = comment;
        member.IsApproved = isApproved;
        Membership.UpdateUser(member);

        //Update the password
        if (!password.Trim().Equals(""))
        {
            member.ChangePassword(member.ResetPassword(), password);
        }

    }
</code></pre>

<p>Can anyone suggest a solution that would enable me to pass the password to the ObjectDataSource?</p>
