Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use DNN Profile/User objects from ASP.NET web application

Is there any way to leverage the DNN components for creating users and setting their profile properties from within a standard ASP.NET application? I am able to access this base ASP.NET Membership database without issue, but without being able to use DNN.Entities.Users.* I cannot truly create users and set/get their profile properties.

like image 459
Keith Adler Avatar asked Nov 27 '25 01:11

Keith Adler


1 Answers

I've never done it, but I am sure it can be done, and it's probably not that hard. Essentially you want a membership provider that runs outside of DNN. You might even get away with simply calling methods on the existing membership provider. I would start by reviewing the source of the ASPNetMembership provider.

http://dotnetnuke.codeplex.com/SourceControl/list/changesets

The provider is at \Library\Providers\MembershipProviders\AspNetMembershipProvider.

like image 127
ScottS Avatar answered Nov 28 '25 15:11

ScottS