Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BuildServiceHostUtilities.ChangeUser Method

Note: This API is now obsolete.

Changes the service account for the currently registered service host.

Namespace:  Microsoft.TeamFoundation.Build.Config
Assembly:  Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)

[ObsoleteAttribute("This method has been deprecated. Please remove all references.", 
	false)]
public static void ChangeUser(
	string userName,
	string password
)

Parameters

userName
Type: System.String

The service account to use for the service host. If null, Network Service will be used.

password
Type: System.String

The password for the service account.

Show:
© 2015 Microsoft