ITcUserManagement::LoginUser
Logs in a user to the currently selected user database and make that user the active user. Fails if the user does not exist or the password is invalid. In this case, an explanatory error message is set via IErrorInfo.
Signature
HRESULT LoginUser(BSTR bstrUserName, BSTR bstrPassword);
Parameter
|
Name |
Type |
Description |
|---|---|---|
|
bstrUserName |
BSTR |
[in] Name of the user. |
|
bstrPassword |
BSTR |
[in] Password of the user. |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
(HRESULT) |
HRESULT |
|