Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S SharePoint Automatic Signin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 49
    • Issues 49
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • CodePlex
  • SharePoint Automatic Signin
  • Wiki
  • Configuration

Configuration · Changes

Page history
Replace list by powershell highlight code authored Apr 25, 2018 by Laurent Sittler's avatar Laurent Sittler
Hide whitespace changes
Inline Side-by-side
Showing with 31 additions and 18 deletions
+31 -18
  • Configuration.md Configuration.md +31 -18
  • No files found.
Configuration.md
View page @ 8611c044
......@@ -5,34 +5,47 @@ In the SharePoint 2010 Management Console
First load the custom Powershell snapin
* Add-PSSnapin ClaimsSignInAdmin
```powershell
Add-PSSnapin ClaimsSignInAdmin
```
Create a configuration object. Note: the url is the url of your web application
* $config = Get-SPSignInConfiguration -webapplication "http://www.website.com"
```powershell
$config = Get-SPSignInConfiguration -webapplication "http://www.website.com"
```
### Managing the mappings
#### View all mappings
* $config.ProviderMappings
```powershell
$config.ProviderMappings
```
#### Add a mapping
* $config.ProviderMappings.Add("192.168.20.*","Windows Authentication")
* $config.Update()
#### Remove a mapping
* $config.ProviderMappings.Remove("192.168.20.*")
* $config.Update()
#### Clear all mappings
* $config.ProviderMappings.Clear()
* $config.Update()
```powershell
$config.ProviderMappings.Add("192.168.20.*","Windows Authentication")
$config.Update()
```
#### Remove a mapping
```powershell
$config.ProviderMappings.Remove("192.168.20.*")
$config.Update()
```
#### Clear all mappings
```powershell
$config.ProviderMappings.Clear()
$config.Update()
```
### Example: configure 192.168.0.* to use Windows authentication for the web application https://intranet.litwareinc.com
* Add-PSSnapin ClaimsSignInAdmin
* $config = Get-SPSignInConfiguration -webapplication "https://intranet.litwareinc.com"
* $config.ProviderMappings.Add("192.168.20.*","Windows Authentication")
* $config.Update()
```powershell
Add-PSSnapin ClaimsSignInAdmin
$config = Get-SPSignInConfiguration -webapplication "https://intranet.litwareinc.com"
$config.ProviderMappings.Add("192.168.20.*","Windows Authentication")
$config.Update()
```
## Configure the sign in page
......
Clone repository
  • Background
  • Build
  • Configuration
  • Deployment
  • Features
  • Home
  • setupIE