Share via


TeamFoundationVersionControlService.UpdateItemSecurity Method

Modifies an item's security information.

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

Syntax

'Declaration
Public Function UpdateItemSecurity ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    changes As SecurityChange() _
) As TeamFoundationDataReader
public TeamFoundationDataReader UpdateItemSecurity(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    SecurityChange[] changes
)
public:
TeamFoundationDataReader^ UpdateItemSecurity(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ workspaceOwner, 
    array<SecurityChange^>^ changes
)
member UpdateItemSecurity : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        workspaceOwner:string * 
        changes:SecurityChange[] -> TeamFoundationDataReader
public function UpdateItemSecurity(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    workspaceOwner : String, 
    changes : SecurityChange[]
) : TeamFoundationDataReader

Parameters

  • workspaceName
    Type: System.String

    The name of the workspace, if local paths are specified. May be null.

  • workspaceOwner
    Type: System.String

    The owner of the workspace. May be null.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: SecurityChange[] - Array of successful changes. Failure[] - Failures that occur applying each change.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace