Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Authenticate user
Previous Previous
 
Next Next
New Post 1/11/2006 2:49 AM
User is offline Chris S
7 posts
10th Ranked


Authenticate user 
I'm tying a system into the DNN user system, and needs to authenticate a user given a username and password. Is there a stored procedure to already do this? If not, which tables do I need and what encryption method(MD5,SHA etc.) is required for hashing the password? I could see that users,aspnet_Users are related, but got stuck there.
 
New Post 1/12/2006 2:12 AM
User is offline Michael Lashinsky
9 posts
www.webdatatechnologies.net
10th Ranked


Re: Authenticate user 

UserInfo.Username or UserInfo.Membership.Username for Username

UserInfo.Membership.Password for Password

in your codebehind should get you your desired result if you are looking to get the current users information  there are other methods but if you are just looking for that information through code there it is.

Another method for logging into another site would be:

With DotNetNuke.Entities.Users.UserController.GetCurrentUserInfo
  LoginToTheOtherSite(.Username, .Membership.Password)
End With

Hope this helps,

Michael

 
New Post 1/12/2006 5:01 AM
User is offline Chris S
7 posts
10th Ranked


Re: Authenticate user 
I'm having to access the system outside of DNN, e.g. just via SQL. So I'm after the table names, encryption method and stored procedure that will do it all for me, if possible.
 
New Post 1/12/2006 5:55 AM
User is offline Sebastian Leupold
13566 posts
www.deutschnetnuke.de
1st Ranked












Re: Authenticate user 
DotnetNuke uses (by default) microsoft membership provider for access control and storing user data. I suggest accessing the data via Microsoft membership provider (Asp.Net2 only) as well.
Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Authenticate user
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/
Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP