Tuesday, October 12, 2010

Dotnetnuke UserController.UserLogin

Dotnetnuke Login through API

Imports DotNetNuke.Entities.Portals
Imports DotNetNuke.Entities.Users

Function code to login to dotnetnuke CMS

Dim currentPortal As DotNetNuke.Entities.Portals.PortalSettings
currentPortal = PortalController.GetCurrentPortalSettings()
UI = UserController.GetUserByName(0, txtUserID.Text.Trim)
UserController.UserLogin(0, UI, currentPortal.PortalName, Request.UserHostAddress, True)


5 comments:

Anonymous said...

Carly Fiorina isnt wasting of our ideas for the marketplace they upgraded
[url=http://mccarley.tk/forum/wiki/blog/negev+desert.html] Negev desert[/url] Negev desert [LINK http://mccarley.tk/forum/wiki/blog/negev+desert.html] Negev desert[/LINK]

Anonymous said...

Спасибо за статью! Надеюсь, автор не против, если я использую это для своей курсовой.

Anonymous said...

Altogether genially written article. I'm really impressed by you apprehension of the subject. Mow down extra to note more. [url=http://szkoleniaforex.info/]strategie forex[/url]

Anonymous said...

I' m currently blogging for a (out) living instead of someone else... but I like it. You' ve inspired me to coop up doing it, and look to doing it also in behalf of myself at once
[IMG]http://www.sedonarapidweightloss.com/weightloss-diet/34/b/happy.gif[/IMG]
[img]http://www.cpcstorm.com/co/images/6.gif[/img]
[img]http://www.cpcstorm.com/co/images/7.gif[/img]
[img]http://www.cpcstorm.com/co/images/8.gif[/img]
[img]http://www.cpcstorm.com/co/images/9.gif[/img]
[img]http://www.cpcstorm.com/co/images/10.gif[/img]
[img]http://www.cpcstorm.com/co/images/11.gif[/img]
[img]http://www.cpcstorm.com/co/images/12.gif[/img]
[img]http://www.cpcstorm.com/co/images/13.gif[/img]
[img]http://www.cpcstorm.com/co/images/17.gif[/img]
[img]http://www.cpcstorm.com/co/images/18.gif[/img]

joomla programmer said...

Really very useful information and I think this would help for all of us. Altogether, good topic you have shared with us. Thanks for sharing. Excellent!