Export (0) Print
Expand All
Expand Minimize

VersionControlServer.SetPermissions Method

Sets the permissions for items in the database.

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

public SecurityChange[] SetPermissions(
	SecurityChange[] securityChanges
)

Parameters

securityChanges
Type: Microsoft.TeamFoundation.VersionControl.Client.SecurityChange[]

The list of changes to send to the server. A SecurityChange is an abstract base class. Each object you pass must be one of two child classes; a PermissionChange (changes the permissions for this item) or an InheritanceChange (changes whether this item inherits permissions from its parent folder). Both classes represent their information as strings. This method is optimized for input that came directly from the user.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.SecurityChange[]
Returns the passed SecurityChange objects that resulted in successful changes.

Community Additions

ADD
Show:
© 2014 Microsoft