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
- permissionChanges
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PermissionChange[]
An array of PermissionChange objects to send to the server.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PermissionChange[]
Anarray of PermissionChange objects representing the successful changes returned from the server.
.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.