TeamFoundationVersionControlService.UpdateGlobalSecurity Method

Updates the global permissions for items.

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

Syntax

'Declaration
Public Function UpdateGlobalSecurity ( _
    requestContext As TeamFoundationRequestContext, _
    changes As PermissionChange() _
) As TeamFoundationDataReader
public TeamFoundationDataReader UpdateGlobalSecurity(
    TeamFoundationRequestContext requestContext,
    PermissionChange[] changes
)
public:
TeamFoundationDataReader^ UpdateGlobalSecurity(
    TeamFoundationRequestContext^ requestContext, 
    array<PermissionChange^>^ changes
)
member UpdateGlobalSecurity : 
        requestContext:TeamFoundationRequestContext * 
        changes:PermissionChange[] -> TeamFoundationDataReader
public function UpdateGlobalSecurity(
    requestContext : TeamFoundationRequestContext, 
    changes : PermissionChange[]
) : TeamFoundationDataReader

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: PermissionChange[] - A list of successful changes. Failure[] - List of failures encountered.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace