Hi guys,
I'm trying to do the SQL Export as specified in Issue 32 :
http://www.dnncreative.com/Tutorial...fault.aspxBut have noticed that in my DNN 4.9 install the table names have changed. I now have Membership instead of UserRoles, and its Membership where most of the user data is stored. And therefore the below query doesnt work:
SELECT Users.UserID, Username, FirstName, LastName, Email,
UserRoles.RoleID, Roles.RoleName
FROM Users INNER JOIN UserRoles ON Users.UserID = UserRoles.UserID
INNER JOIN Roles ON UserRoles.RoleID = Roles.RoleID
WHERE (UserRoles.RoleID = 3)
My table names are also appended with dbo.aspnet_Users etc
My SQL isnt that good, any chance you have a new version of the Query that works on DNN 4.9? Im looking to export usernames and emails so I can setup a newsletter with iContact.
Thanks for your help,
Simon