Skip to content

Commit fe5130f

Browse files
authored
Merge pull request MicrosoftDocs#1064 from jruckert/patch-1
Update example
2 parents 1574cd0 + 210cbdf commit fe5130f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sharepoint/sharepoint-ps/sharepoint-server/New-SPSecureStoreApplication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ PS C:\>$passwordField = New-SPSecureStoreApplicationField -Name "Password" -Type
3535
PS C:\>$fields = $usernameField,$passwordField
3636
PS C:\>$userClaim = New-SPClaimsPrincipal -Identity "CONTOSO\janedoe" -IdentityType WindowsSamAccountName
3737
PS C:\>$contosoTargetApp = New-SPSecureStoreTargetApplication -Name "ContosoTargetApplication" -FriendlyName "Contoso Target Application" -ApplicationType Group
38-
PS C:\>New-SPSecureStoreApplication -ServiceContext http://contoso -TargetApplication $contosoTargetApp -Fields $fields -Administrator $claimUser
38+
PS C:\>New-SPSecureStoreApplication -ServiceContext http://contoso -TargetApplication $contosoTargetApp -Fields $fields -Administrator $userClaim
3939
```
4040

4141
This example creates a new group target application ContosoTargetApplication and then a new application for that target application. This new application has two fields; UserName of type WindowsUserName and Password of type WindowsPassword. The user with identity janedoe on the CONTOSO ___domain is set as the target application administrator.

0 commit comments

Comments
 (0)