-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.
Last modified date: 04/03/2024