The UserID property specifies a user ID or name to use when making a connection.
| Connection Object |
object.UserID [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | User ID or name to use |
String
Read/write
HRESULT GetUserID(BSTR *pRetVal);
HRESULT SetUserID(BSTR NewValue);