Partager via


VersionControlServer.GetPermissions Method (array<String[], array<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)

Syntax

'Déclaration
Public Function GetPermissions ( _
    identityNames As String(), _
    items As String(), _
    recursion As RecursionType _
) As ItemSecurity()
public ItemSecurity[] GetPermissions(
    string[] identityNames,
    string[] items,
    RecursionType recursion
)
public:
array<ItemSecurity^>^ GetPermissions(
    array<String^>^ identityNames, 
    array<String^>^ items, 
    RecursionType recursion
)
member GetPermissions : 
        identityNames:string[] * 
        items:string[] * 
        recursion:RecursionType -> ItemSecurity[] 
public function GetPermissions(
    identityNames : String[], 
    items : String[], 
    recursion : RecursionType
) : ItemSecurity[]

Parameters

  • identityNames
    Type: array<System.String[]
    The user or group names (may be null).
  • items
    Type: array<System.String[]
    An array of paths to the items to get permissions for.

Return Value

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

.NET Framework Security

See Also

Reference

VersionControlServer Class

GetPermissions Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace