Share via


VersionControlServer.SetGlobalPermissions Method

Sets the permissions for items in the repository.

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

Syntax

'Declaration
Public Function SetGlobalPermissions ( _
    permissionChanges As PermissionChange() _
) As PermissionChange()
public PermissionChange[] SetGlobalPermissions(
    PermissionChange[] permissionChanges
)
public:
array<PermissionChange^>^ SetGlobalPermissions(
    array<PermissionChange^>^ permissionChanges
)
member SetGlobalPermissions : 
        permissionChanges:PermissionChange[] -> PermissionChange[] 
public function SetGlobalPermissions(
    permissionChanges : PermissionChange[]
) : PermissionChange[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.PermissionChange[]
An array of PermissionChange objects representing the successful changes returned from the server.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace