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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- servicingContext
Type: Microsoft.TeamFoundation.Framework.Server.ServicingContext
.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.