Monday, August 10, 2015

How to find that who deleted SQL Server database


From very good post here from "Jack Corbett"

http://www.sqlservercentral.com/Forums/Topic989304-391-1.aspx

Thursday, July 23, 2015

SharePoint sites : Access denied in chrome

Annoying right?

Works from Chrome Incognito but does't work with Chrome standard mode..

Just use following URL -
_layouts/closeConnection.aspx?loginasanotheruser=true

To close the current connection and loginasanother user.

https://support.microsoft.com/en-us/kb/2752600

Thursday, May 28, 2015

Set App Permission using Powershell

Add-PSSnapin "Microsoft.SharePoint.PowerShell"
$spw = Get-SPSite "http://server.domain.com"
$clientID = "86e47e56-f289-4f68-b832-58b0542e0c96"
$authRealm = Get-SPAuthenticationRealm -ServiceContext $spw
$spAppId = $clientID + "@" + $authRealm
$spAppPrincipal = Get-SPAppPrincipal -Site $spw.RootWeb -NameIdentifier $spAppId
Set-SPAppPrincipalPermission -Site $spw.RootWeb -AppPrincipal $spAppPrincipal -Scope SiteSubscription -Right FullControl

Wednesday, January 21, 2015

FBA pack for SharePoint 2013


https://sharepoint2013fba.codeplex.com/documentation

A forms based authentication pack for SharePoint 2013. It includes web parts for registering users, changing passwords and password recovery. It includes tools for managing users and roles and for approving registrations. 

More details here for FBA management features-

https://sharepoint2013fba.codeplex.com/