26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Additional Resources<br />

• For more information, see “<strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> Default Groups, Permissions,<br />

and Roles” on the MSDN Web site at http://msdn2.microsoft.com/enus/library/ms253077.aspx<br />

• For more information, see “Source Control Security Rights and Permissions” on the<br />

MSDN Web site at http://msdn2.microsoft.com/en-us/library/ms181761.aspx<br />

How to Remove a Developer Who Has Left Your Project<br />

If a developer has left your project, make sure that you delete that developer’s workspace.<br />

This operation not only helps to ensure the security of your project, but also removes any<br />

of the developer’s pending changes and undoes any locks held by the developer.<br />

Note: You cannot undo the locks <strong>with</strong>out undoing the changes if an exclusive lock has<br />

been turned on for the team project.<br />

To find out which files the developer has locked out, run the following command:<br />

tf workspaces /owner:domain\devuser /computer:* /server:servername<br />

To delete the workspace and remove locks, run the following command:<br />

tf workspace /delete workspacename;domain\devuser /s:servername<br />

Next, remove the developer’s account from the security groups. To do so, make changes<br />

in the following three places:<br />

• TFS team project – Log on to <strong>Visual</strong> <strong>Studio</strong> <strong>with</strong> an account that is a member of the<br />

<strong>Team</strong> <strong>Foundation</strong> Administrators application group. Using <strong>Team</strong> Explorer, right-click<br />

the project, point to <strong>Team</strong> Project Settings, click Group Membership, and then<br />

remove the developer’s account from the relevant groups (normally Contributors).<br />

• SharePoint team project site – Log on to the team site, located at<br />

http://server/sites/yourprojectname/default.aspx <strong>with</strong> an administrator account. Click<br />

Site Settings, Manage Users and then remove the developer account.<br />

• SQL <strong>Server</strong> Reporting Services – Log on to the SQL <strong>Server</strong> Reporting Services<br />

administration Web site using an administrator account. The site is located at<br />

http://server/reports. Click your team project name, click the Properties tab, click the<br />

Security tab, and then delete the developer’s account.<br />

Additional Resources<br />

• For more information about cleaning up after a developer who has left a project, see<br />

“How to: Clean Up Files When Users Leave” at http://msdn2.microsoft.com/enus/library/ms194958(VS.80).aspx<br />

• For more information about the Workspace command, see “Workspace Command”<br />

at http://msdn2.microsoft.com/en-us/library/y901w7se(VS.80).aspx

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!