Get and validate a user ID.
Get and validate a user ID.Prompts msg asking for a user ID. If the user does not exist (as checked by uidxref()), err is prompted (with a %s format specifier containing the invalid user ID. If def!=0, prompt def is displayed along with a default user ID of defval.
The user can enter the first few characters of a user ID (three at least), and uidxref() will complete the user ID will when Enter is pressed. If there are more than one user IDs matching what the user entered, a short menu will be shown and the user can choose which one they meant.