This documentation is archived and is not being maintained.
VersionControlServer::GetPermissions Method (array<String>, RecursionType)
Visual Studio 2013
Gets the permissions of the specified Items.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: array<ItemSecurity^>^ GetPermissions( array<String^>^ items, RecursionType recursion )
Parameters
- items
- Type: array<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: array<Microsoft.TeamFoundation.VersionControl.Client::ItemSecurity>An array of ItemSecurity objects representing the permissions of the corresponding items.
- 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.
Show: