Tag Info

Hot answers tagged

2

How to delete SP.Group in SharePoint 2013 via JSOM Use SP.GroupCollection.remove, SP.GroupCollection.removeById or SP.GroupCollection.removeByLoginName methods to remove Group from site. Example var context = SP.ClientContext.get_current(); var groups = context.get_web().get_siteGroups(); groups.removeById(groupId); context.executeQueryAsync( ...


2

OK, found it. The two parameters -AuthenticationProvider and -AuthenticationMethod are from different worlds, not to be used together. The first one works with claims based auth while the second one with Classic Windows auth. To achieve my goal I need to use these commands: $auth = New-SPAuthenticationProvider -DisableKerberos:$false New-SPWebApplication ...


1

You should Create Different AD Account for your Contractors and Partners Different From all your FTE(Full Time Employees) lets call it All_Employees. Add All_Employees into your SharePoint Site which will give your FTE's Access to your site, but not Contractors . You should Contact your AD Vendor and Request this information from their's end to apply these. ...


1

First of all, a user must be a site collection administrator to be able to grant an app to use app-only policy. Once you have installed and trusted (granted) an app, you can use app only requests to the site or web. Basically there is an accessToken called App Only Token that you have to create in your code to request app only access. Here is the sample ...



Only top voted, non community-wiki answers of a minimum length are eligible