CdbDBEngine::SetDefaultUser Property

Sets the user name used by the Microsoft Jet database engine when it is initialized.

Syntax

VOIDSetDefaultUser(LPCTSTR pstr);

Set Parameters

Type Example Description
LPCTSTR pstr A pointer to a string containing the user name. The setting for user name can be 1–20 characters long and can include alphabetic characters, accented characters, numbers, spaces, and symbols except for quotation marks ("), forward slash (/), backslash (\), brackets ([ ]), colon (:), pipe (|), less-than sign (<), greater-than sign (>), plus sign (+), equal sign (=), semicolon (;), comma (,), question mark (?), asterisk (*), leading spaces, and control characters (ASCII 00 to ASCII 31).