Try our conversational search powered by Generative AI!

Export members to Excel


Is it possible to export community members to Excel? How?


May 25, 2011 13:43

Guess you need to make your own code

you can find all the members like this

foreach (MembershipUser membershipUser in System.Web.Security.Membership.GetAllUsers())
    IUser user =  CommunitySystem.CurrentContext.DefaultSecurity.GetUserByUserName(membershipUser.UserName);


Edited, May 25, 2011 19:42

Is this a one-time thing or something you want to do regularly?

As a one-time-thing, you have all the users in an SQL Server table, tblEPiServerCommonUsers. If you want to do this regularly, you'd want to use code to do it. Going directly to the Community APIs is the most efficient way:

foreach (EPiServer.Common.Security.IUser user in EPiServer.Common.Security.SecurityHandler.Instance.GetUsers())

Jun 17, 2011 16:03
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.