Thursday, January 15, 2009

Enabling form authentication using STSADM

Scenario:
I wanted to enable form authentication without going through the hassle of Central Admin UI.

Solution:
STSADM did the trick.

Form Authentication:


stsadm -o authentication -url "http://localhost" -type forms -membershipprovider ASPNetMembershipProvider -roleManager ASPNetMembershipProvider
Windows Authentication:

stsadm -o authentication -url "http://localhost" -type windows -enableclientintegration -usewindowsintegrated
Article:
STSADM

0 comments: