Wednesday

Sign in as different user is missing in SharePoint 2013..


Sign in as different user is missing in SharePoint 2013. It will be very difficult for testing scenarios with different users. I use this functionality very frequently. I guess Microsoft wants that user don’t hack the site by typing wild guessing the passwords.

There are three options to sign in as different user


1)  Just go to start->programs->IE and shift-right click and “run as different user”


2)    a) Locate and then open the following file in a text editor:  C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES\Welcome.ascx and add the following element before the existing “ID_RequestAccess” element:

” Description=”<%$Resources:wss,personalactions_loginasdifferentuserdescription%>” MenuGroupId=”100″ Sequence=”100″ UseShortId=”true” /> and save the file.

3) Access the SharePoint site by using the following URL:
http:///_layouts/closeConnection.aspx?loginasanotheruser=true

Hide Ribbon on SharePoint 2013 using CSS


In SharePoint 2013 MS has divided whole ribbon in two section: s4-ribbonrow and suiteBar.



Step 1)  Add the style tag to hide the ribbon for all the user in master page
#s4-ribbonrow, #suiteBar { display : none; }

Step 2) Find out the
tag and insert the following code inside this div: