File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
sharepoint/sharepoint-ps/sharepoint-server Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -27,23 +27,12 @@ For permissions and the most current information about Windows PowerShell for Sh
27
27
28
28
### ----------------EXAMPLE 1--------------------
29
29
```
30
- C:\PS>$pr = Get-SPServiceApplicationProxy | ? {$_.TypeName.Contains("Profile")}
31
-
32
- C:\PS>Add-SPPluggableSecurityTrimmer -UserProfileApplicationProxyId $pr.Id -PlugInId 0
30
+ C:\PS>$proxy = Get-SPServiceApplicationProxy | ? {$_.TypeName -eq 'User Profile Service Application Proxy'}
31
+ C:\PS>Add-SPPluggableSecurityTrimmer -UserProfileApplicationProxyId $proxy.Id -PlugInId 0
33
32
```
34
33
35
34
This example adds a pluggable security trimmer that is related to the User Profile service application proxy.
36
35
37
-
38
- ### -----------------EXAMPLE 2----------------------
39
- ```
40
- C:\PS>$proxy = Get-SPServiceApplicationProxy | ? {$_.TypeName.Contains("Profile")} $proxy.Id
41
-
42
- C:\PS>Add-SPPluggableSecurityTrimmer -UserProfileApplicationProxyId $proxy.Id -PlugInId 0
43
- ```
44
-
45
- This example turns on security trimming in a User Profile Service Application.
46
-
47
36
## PARAMETERS
48
37
49
38
### -UserProfileApplicationProxyId
You can’t perform that action at this time.
0 commit comments