Note: This API is now obsolete.
Changes the service account for the currently registered service host.
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 )
- 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.