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
2727
2828### ----------------EXAMPLE 1--------------------   
2929``` 
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 
3332``` 
3433
3534This example adds a pluggable security trimmer that is related to the User Profile service application proxy.
3635
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- 
4736## PARAMETERS  
4837
4938### -UserProfileApplicationProxyId  
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments