Partager via


CollectionIdentityStepPerformer.GrantCollectionAdminsProjectPrivileges Method

This step fixes a gap in 2008 upgrade where collection administrators were not provided with administrative privileges on team projects. The permission is only added if the administrator did not previously have explicit permissions on the project.

Namespace:  Microsoft.TeamFoundation.Server.Core.Extensions
Assembly:  Microsoft.TeamFoundation.Server.Core.Extensions (in Microsoft.TeamFoundation.Server.Core.Extensions.dll)

Syntax

'Declaration
<ServicingStepAttribute> _
Public Sub GrantCollectionAdminsProjectPrivileges ( _
    requestContext As TeamFoundationRequestContext, _
    servicingContext As ServicingContext _
)
[ServicingStepAttribute]
public void GrantCollectionAdminsProjectPrivileges(
    TeamFoundationRequestContext requestContext,
    ServicingContext servicingContext
)
[ServicingStepAttribute]
public:
void GrantCollectionAdminsProjectPrivileges(
    TeamFoundationRequestContext^ requestContext, 
    ServicingContext^ servicingContext
)
[<ServicingStepAttribute>]
member GrantCollectionAdminsProjectPrivileges : 
        requestContext:TeamFoundationRequestContext * 
        servicingContext:ServicingContext -> unit
public function GrantCollectionAdminsProjectPrivileges(
    requestContext : TeamFoundationRequestContext, 
    servicingContext : ServicingContext
)

Parameters

.NET Framework Security

See Also

Reference

CollectionIdentityStepPerformer Class

Microsoft.TeamFoundation.Server.Core.Extensions Namespace