Export (0) Print
Expand All

TFSLabConfig GetServiceAccount Command

Lists the current service account that is used by test agents and build agents to communicate with the test and build controllers in a team project collection.

Required Permissions

To use the GetServiceAccount command, you must have the Manage Lab Locations permission at the Team Project Collection Host Group level. By default, the members of the TFS Administrators and Project Collection Administrators groups have this permission. For more information, see Team Foundation Server Permissions.

TFSLabConfig GetServiceAccount



Collection: collectionUrl

The URL of the team project collection on the application-tier of Team Foundation Server.

The service account of a team project collection is set by the TfsLabConfig SetServiceAccount command or in the User Account tab of the Create Team Project Collection dialog box.

For increased readability in this example, command options are listed on separate lines. In a command prompt window, type all options for a command on the same line.

This example lists the user account for a team project collection.

tfslabconfig /getserviceaccount
© 2015 Microsoft