5. Using Net : User Identity on Remote Instance : -u Command Flag—Impersonate User
 
Share this page                  
-u Command Flag—Impersonate User
You can use the -u command flag on a remote instance to impersonate another user provided your user ID on the remote instance has the SECURITY permission. (Typically, a system administrator has this privilege.)
This command flag has the following format:
-u user_ID
where user_ID is the user ID of the user you are impersonating.