How to: Deactivate or Reactivate a User
Changing administrative or project needs might require that you deactivate or reactivate a Team Foundation Server user account. Deactivating and reactivating the account can help preserve the history and continuity of a user's role.
Required Permissions
To perform this procedure, you must be a member of the Team Foundation Administrators group or have Edit Server-Level Information permission set to Allow. When reactivating users or groups, only allow the permissions the user or group must successfully perform their role. For more information about permissions, see Team Foundation Server Permissions.
To deactivate a user on a Team Foundation Server
In Visual Studio, open Team Explorer, and connect to the Team Foundation Server for which you are deactivating a user.
Right-click the Team Foundation Server, point to Team Foundation Server Settings, and then click Security.
In Users and Groups, select the user who you want to deactivate.
In Permissions for, clear all Allow permissions for the user, and set all permissions to Deny.
Click Close.
Note
Deactivating a user in this manner will not affect a user who is also a member of the Project Administrators or Team Foundation Administrators groups. Make sure to remove the user from those groups before deactivating the user account.
To reactivate a user on a Team Foundation Server
In Visual Studio, open Team Explorer, and connect to the Team Foundation Server for which you are reactivating a user.
Right-click the Team Foundation Server, point to Team Foundation Server Settings, and then click Security.
In Users and Groups, select the user or group that you want to reactivate.
In Permissions for, select all permissions that you want to allow or deny the user.
Click Close.
See Also
Tasks
How to: Add a User
How to: Modify Permissions for a User
How to: Add Users to a Server-Level Group