Returns the value of the named attribute for the user profile. If read access for this attribute is not already available, this method simply returns the NULL string.
Syntax
HRESULT getAttribute( BSTR name, BSTR *value );
Parameters
- name
- String that specifies the name for the user profile.
- value
- Address of a string variable that receives the value.
Return Value
Returns S_OK if successful, or an error code otherwise.