Tag Info

New answers tagged

3

You can hide ribbon in SharePoint 2013 using below mentioned cod. It can be applied to master page which you are using for the site. <SharePoint:SPSecurityTrimmedControl runat="server" AuthenticationRestrictions="AuthenticatedUsersOnly" EmitDiv="true"> <div id="suiteBar" class="ms-dialogHidden noindex"> <!--#suiteBarLeft and ...


0

Per the following TechNet article, You might have thought to hide Ribbon from the Anonymous users due to security reason. In SharePoint 2010 it was simple to modify the master page and that's done, In SharePoint 2013 there has been some changes and we no more need to modify the master page directly, every thing is simplified in 2013 and we just need to ...


1

You can get the user name with this javascript: function fxGetUserName() { var ctx = new SP.ClientContext.get_current(); var web = ctx.get_web(); var xUser = web.get_currentUser(); ctx.load(xUser); ctx.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed)); } function ...



Top 50 recent answers are included