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. The value must be one of the following:

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

Show: