IOlkAccount::GetProp

Gets the value of the specified account property.

Quick info

See IOlkAccount.

HRESULT IOlkAccount::GetProp(  
DWORD dwProp, 
ACCT_VARIANT *pVar 
);

Parameters

dwProp

[in] The property tag of the account property to get.

pVar

[out] The value of the specified property.

Return values

HRESULT Description
S_OK
The call succeeded.
E_ACCT_NOT_FOUND
The property is not found for the given account.
E_INVALIDARG
An invalid property tag has been specified.

Remarks

After this method returns, if the value of the account property is a binary or string type, you must free pVar by using IOlkAccount::FreeMemory.

See also