Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds an account by property value.
Quick info
See IOlkAccountManager.
HRESULT IOlkAccountManager::FindAccount (
DWORD dwProp,
ACCT_VARIANT *pVar,
IOlkAccount **ppAccount
);
Parameters
dwProp
[in] The property to search on. Must be PROP_ACCT_ID or PROP_ACCT_IS_EXCH.
pVar
[in] The value to match.
ppAccount
[out] The account found. This object supports an IOlkAccount interface.
Return values
HRESULT | Description |
---|---|
S_OK |
The call succeeded. |
E_ACCT_NOT_FOUND |
The specified account cannot be found. |
E_OLK_NOT_INITIALIZED |
The account manager has not been initialized for use. |
E_OLK_PARAM_NOT_SUPPORTED |
One or more parameters are invalid. |