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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
changes
Type: array<Microsoft.TeamFoundation.VersionControl.Server.PermissionChange[]The list of permissions changes.
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
- 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.