Filters a shelveset for an array of users and returns a list of path restrictions.
Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function FilterShelveset ( _
    requestContext As TeamFoundationRequestContext, _
    userIdentities As TeamFoundationIdentity(), _
    shelvesetName As String, _
    shelvesetOwner As String _
) As List(Of PathRestriction)
public List<PathRestriction> FilterShelveset(
    TeamFoundationRequestContext requestContext,
    TeamFoundationIdentity[] userIdentities,
    string shelvesetName,
    string shelvesetOwner
)
public:
List<PathRestriction^>^ FilterShelveset(
    TeamFoundationRequestContext^ requestContext, 
    array<TeamFoundationIdentity^>^ userIdentities, 
    String^ shelvesetName, 
    String^ shelvesetOwner
)
member FilterShelveset : 
        requestContext:TeamFoundationRequestContext * 
        userIdentities:TeamFoundationIdentity[] * 
        shelvesetName:string * 
        shelvesetOwner:string -> List<PathRestriction> 
public function FilterShelveset(
    requestContext : TeamFoundationRequestContext, 
    userIdentities : TeamFoundationIdentity[], 
    shelvesetName : String, 
    shelvesetOwner : String
) : List<PathRestriction>
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The request context. 
- userIdentities 
 Type: array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[]- The list of users to filter. 
- shelvesetName 
 Type: System.String- The name of the shelveset. 
- shelvesetOwner 
 Type: System.String- The owner of the shelveset. 
Return Value
Type: System.Collections.Generic.List<PathRestriction>
The list of path restrictions for the provided users.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.