Login  Register 
Home
 
Applications
 
Consulting
 
Design
 
Business Links
 
Support
 
Contact
  Search
Search
 
 SupportKnowledge BaseMicrosoft SQL Server     May 17, 2012  
Snippets
10

Here's a great sql script to use for the DotNetNuke Reports Module:

Select
  AU.Username,
  U.FirstName,
  U.LastName,
  AM.loweredEmail,
  AM.CreateDate,
  AM.LastLoginDate
from
  aspnet_Membership as AM with (nolock)
  join aspnet_Users as AU with (nolock) on AM.UserID = AU.UserID
  join Users as U  with (nolock) on U.UserName = AU.Username
where
  AM.ApplicationID = (select ApplicationID from dbo.aspnet_Applications where ApplicationName = 'DotNetNuke')

Post Rating

Comments

There are currently no comments, be the first to post one.

Post Comment

Only registered users may post comments.
 

P.O. BOX 2342 ~ BREWSTER, MA 02631
PHONE & FAX: (508) 714-0678

 
 Copyright 2012 by Global Internet Business Solutions   Terms Of Use  Privacy Statement