The Membership Management Module
The Membership Management features are intended to help you know what's going in with your membership user list and also to perform routine maintenance on user records including approvals, password resets and role assignment. As you would expect, the tool provides several ways to find membership users and also a variety of user interface components and API methods for updating information.
It's not rocket science, but we've built in some capabilities that we hope will save you a bit of time and hassle. For example:
Administrative Password Recovery
Although the Asp.Net Membership system was designed for "self-service" account administration, you might want to let an administrator be able to reset a user's password without having to know the name of their first pet!
Password Format Change
Suppose that you started your membership database using a Hashed password format and later decide that you want to use encrypted passwords so users can retrieve their password instead of having to reset it. The tool includes a solution for this.
Profile Data Integration
If you use the Asp.Net Profile features to attach information to membership users, our tool retrieves not only the profile data for a user, but also information such as the label, data type, position and more to dynamically build a UI for data entry and presentation.
The User Interface
The Membership Management Module is presented in a list-detail view that allows you to select membership user records and view their details.
The User List provides a search box where you can enter either part of a user name or email address (wild card characters supported) then press Enter to see the results. The list can be sorted and an advanced Search Dialog lets you specify criteria such as a range of dates the user record was created.
When you select a user in the list, you'll see more detailed information including Status, Password, Roles and Profile. If the user has become locked out as a result of excessive invalid password attempts, you'll be presented with a quick link to unlock. Similarly, the Approve/Disapprove links let you easily ban or allow a user to log in.
The "New User" option displays a dialog that includes the usual name, password and email fields along with dynamically-created roles selection and profile-data entry sections.
Other options on the "Edit" menu include
Username
Allows you to change a user's username
Lets you change the user's email address
Password
Administratively change a user's password
Reset Password
Reset a user's password to a gnarly random value
Role Membership
Select all of the roles for which the user should be a member
Profile
Dynamically-generated UI provides for entering profile data
Comments
Allows for the entry of notes into a large text field
Delete
Removes the user from the database
Events
Events are raised for nearly every request made by the client-side UI to the server-side Web Management API. In most cases, events are available both before and after a server-side operation is performed. The UpdateRoleMembershipmethod, for example, gives you an opportunity to add some server-side logic to allow/disallow a user into a role and also to perform some other action once the user has been added or removed from the role.
Here's a summary of the events that correspond to various membership management features:
Method
Events
FindMembershipUsers
FindingMembershipUsers, FoundMembershipUsers
DeleteMembershipUser
DeletingMembershipUser, DeletedMembershipUser
GetNewMemberInfo
GettingNewMemberInfo, GotNewMemberInfo
CreateMembershipUser
CreatingMembershipUser, CreatedMembershipUser
GetMemberInfo
GettingMemberInfo, GotMemberInfo
GetMemberInfo
GettingMemberInfo, GotMemberInfo
GetPassword
GettingPassword, GotPassword
ChangeUserEmail
ChangingUserEmail, ChangedUserEmail
ChangeUsername
ChangingUsername, ChangedUsername
ChangePassword
ChangingPassword, ChangedPassword
ResetPassword
ResettingPassword, ResetPasswordComplete
ChangeUserComments
ChangingUserComments, ChangedUserComments
UnlockUser
UnlockingUser, UnlockedUser
ToggleUserApproved
TogglingUserApproved, ToggledUserApproved
ChangeUserRoles
ChangingUserRoles, ChangedUserRoles
ChangeUserProfile
ChangingUserProfile, ChangedUserProfile