
This interface provides methods that requests read access to a user's profile information, and to perform read actions on the userProfile element.
IHTMLOpsProfile Methods
| clearRequest | getAttribute |
| addReadRequest | doReadRequest |
HRESULT clearRequest(void);
Clears the user profile information request. All current user profile request information is removed from the request queue.
HRESULT getAttribute(
BSTR name,
BSTR *value
);
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.
HRESULT addReadRequest(
BSTR name,
VARIANT reserved,
VARIANT_BOOL *success
);
Adds a name entry to the read request queue.
See also doReadRequest
HRESULT doReadRequest(
VARIANT usage,
VARIANT fname,
VARIANT domain,
VARIANT path,
VARIANT expire,
VARIANT reserved
);
Performs the compound request accumulated in the read request queue.
| Usage code | Meaning |
| 0 | Used for system administration. |
| 1 | Used for research and/or product development. |
| 2 | Used for completion and support of current transaction. |
| 3 | Used to customize the content and design of a site. |
| 4 | Used to improve the content of a site including advertisements. |
| 5 | Used for notifying visitors about updates to the site. |
| 6 | Used for contacting visitors for marketing of services or products. |
| 7 | Used for linking other collected information. |
| 8 | Used by a site for other purposes. |
| 9 | Disclosed to others for customization or improvement of the content and design of the site. |
| 10 | Disclosed to others, who may contact you, for marketing of services and/or products. |
| 11 | Disclosed to others, who may contact you, for marketing of services and/or products, but you will have the opportunity to ask a site not to do this. |
| 12 | Disclosed to others for any other purpose. |
See also addReadRequest
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.