aspx Tutorial

.NET Articles,jQuery demo, asp.net with jQuery, online tutorial,Jquery, SilverLight, Javascript, asp.net,JSON, MVC,.NET Articles,demo, Web Services, .NET articles, Sharepoint 2010, visual studio 2010,Aamir Hasan,IT, Building Your First Web Application Project
Advertise Here

Toolbar

Get our toolbar!

Advertize



Posted by Aamir Hasan   on Tuesday, June 7, 2011 Total Views:  

Last night, I have experienced to disable claims based authentication in SharePoint 2010 using power shell. It can be doable in PowerShell. By using PowerShell script you can shift to claims based or classic mode authentication.

 

From PowerShell command prompt, type the following script to enable claims based authentication.

$WAName = "http://aspxtutorial.com:82"

$WA = Get-SPWebApplication $WAName

$WA.UseClaimsAuthentication = 1;

$WA.Update()

 


From PowerShell command prompt, type the following script to disable claims based authentication and convert to classic mode authentication.

$WAName = "http://aspxtutorial.com:82"

$WA = Get-SPWebApplication $WAName

$WA.UseClaimsAuthentication = 0;

$WA.Update()

Protected by Copyscape Online Plagiarism Tool

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Advertizement 1
Advertizement 2
Advertizement 3
Advertizement 4
Advertizement 5