Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

VersionControlServer.GetPermissions Method (String[], RecursionType)

Gets the permissions of the specified Items.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public function GetPermissions(
	items : String[], 
	recursion : RecursionType
) : ItemSecurity[]

Parameters

items
Type: System.String[]

Array of paths to the items to get permissions for.

recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType

The recursion level to use for querying items.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSecurity[]
An array of ItemSecurity objects representing the permissions of the corresponding items.

Show:
© 2015 Microsoft