SqlMembershipProviderEx (LockUser, GetAllUsersInRole, etc.)
Here you can download the source code of the SqlMembershipProviderEx and all other accompanying classes and scripts. The SqlMembershipProvider is extended with the following methods:
- GetAllUsersInRole, which returns users in a role and supports pagination. It’s described in the article SharePoint: SqlMembershipProvider – Get All Users In Role;
- LockUser, which locks a user out. It’s described in the article SharePoint: SqlMembershipProvider – Lock User;