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.
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 ValueType: Microsoft.TeamFoundation.VersionControl.Client.PermissionChange
Returns a list of the passed PermissionChange objects that resulted in successful changes.
- 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.