-Y Option (Command Line)
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

-Y Option (Command Line)

Visual Studio 2005

Specifies a user name or user name and password. Use this option if you want to execute a command as another user.

The following table lists ways to use the -Y option.

-Y<user name>

Specifies a user name.

-Y<user name>,<password>

Specifies a user name and password.

© 2015 Microsoft