This documentation is archived and is not being maintained.

VersionControlServer.SetGlobalPermissions Method

Global prmissions are permissions that apply to a server that is running Team Foundation Server, instead of to one file or folder on that server. The global permissions govern different behavior from item-level permissions. For instance, Checkin is an item-level permission and Administer Shelvets is a global permission. This function sets the global permissions for the specified users or groups.

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

public PermissionChange[] SetGlobalPermissions(
	PermissionChange[] permissionChanges


Type: Microsoft.TeamFoundation.VersionControl.Client.PermissionChange[]

The list of changes that you want to send to the server. A PermissionChange object specifies a particular user or group, and what permissions they should be allowed or denied. The information is completelyrepresented as strings. This method is optimized for input that came directly from the user.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.PermissionChange[]
Returns a list of the passed PermissionChange objects that resulted in successful changes.