Package | dom.objects |
Class | public class UserProfile |
Inheritance | UserProfile Object |
Non-standard (Microsoft)
Obsolete
See also
Method | Defined By | ||
---|---|---|---|
Adds an entry to the queue for read requests. | UserProfile | ||
Clears all requests in the read-requests queue to prepare for new profile-information requests. | UserProfile | ||
Non-Standard Obsolete doReadRequest(usageCode:Number, friendlyName:DOMString = null, domain:DOMString = null, path:DOMString = null, expiration:* = null, reserved:* = null):void
Performs all requests located in the read-requests queue. | UserProfile | ||
Returns the value of the named attribute from the userProfile object. | UserProfile | ||
Sets the value of the specified attribute. | UserProfile |
Non-Standard Obsolete addReadRequest | () | method |
public function addReadRequest(attributeName:DOMString, reserved:* = null):Boolean
Non-standard (Microsoft)
Obsolete
Adds an entry to the queue for read requests.
Note: This method appends a vCard name to the read-requests queue. The read-requests queue is a list of read requests waiting to be initiated. To initiate the accumulated, or compound, read requests in the queue, call doReadRequest. To clear the queue, call clearRequest.
Parameters
attributeName:DOMString — Specifies one of the standard vCard names. If anything else is used, the request is ignored and nothing is added to the read-requests queue.
| |
reserved:* (default = null ) — Windows Internet Explorer currently ignores this parameter.
|
Boolean — True if the request has been successfully added to the queue. False if the attribute name was not recognized or the attribute already appeared in the request queue.
|
See also
Non-Standard Obsolete clearRequest | () | method |
public function clearRequest():void
Non-standard (Microsoft)
Obsolete
Clears all requests in the read-requests queue to prepare for new profile-information requests.
See also
Non-Standard Obsolete doReadRequest | () | method |
public function doReadRequest(usageCode:Number, friendlyName:DOMString = null, domain:DOMString = null, path:DOMString = null, expiration:* = null, reserved:* = null):void
Non-standard (Microsoft)
Obsolete
Performs all requests located in the read-requests queue.
Parameters
usageCode:Number — Specifies the code that notifies the user of the type of access requested. This usage
code should be one of the following 13 codes defined by the Internet Privacy Working Group (IPWG).
| |||||||||||||||||||||||||||||
friendlyName:DOMString (default = null ) — Specifies the display name of the party requesting access to private information.
For security reasons, it is not sufficient for the user agent to show this display name to the user. In addition
to display name, the user agent must display the URL that originates the script requesting profile access. If
this script originates from a secure connection (for example, SSL), the Web author can use the SSL certificate
to reliably identify the party requesting access.
| |||||||||||||||||||||||||||||
domain:DOMString (default = null ) — Specifies the pages that the user's choice will apply to in addition to the current page.
The specification follows the cookie standard.
| |||||||||||||||||||||||||||||
path:DOMString (default = null ) — Specifies the path to the domain server requesting access. When vExpiration is set, the path is saved with the requested attributes.
| |||||||||||||||||||||||||||||
expiration:* (default = null ) — Specifies the amount of time the site has requested access to these attributes. This is currently ignored by Windows Internet Explorer.
| |||||||||||||||||||||||||||||
reserved:* (default = null ) — This parameter is reserved.
|
See also
Non-Standard Obsolete getAttribute | () | method |
public function getAttribute(attributeName:DOMString):void
Non-standard (Microsoft)
Obsolete
Returns the value of the named attribute from the userProfile object.
Note: The following schema is used for the field names of the user data store. These names are specified when you use the getAttribute method on the userProfile object. Note that the format has changed from vCard_xxx to vCard.xxx, and that the older format no longer is supported.
Note: An asterisk ( denotes extensions to the vCard schema. Extensions are referenced as X- elements, as defined in the vCard schema.
vCard Names | ||
---|---|---|
vCard.Business.City | vCard.Business.Country | vCard.Business.Fax |
vCard.Business.Phone | vCard.Business.State | vCard.Business.StreetAddress |
vCard.Business.URL | vCard.Business.Zipcode | vCard.Cellular |
vCard.Company | vCard.Department | vCard.DisplayName |
vCard.Email | vCard.FirstName | vCard.Gender* |
vCard.Home.City | vCard.Home.Country | vCard.Home.Fax |
vCard.Home.Phone | vCard.Home.State | vCard.Home.StreetAddress |
vCard.Home.Zipcode | vCard.Homepage | vCard.JobTitle |
vCard.LastName | vCard.MiddleName | vCard.Notes |
vCard.Office | vCard.Pager |
Parameters
attributeName:DOMString — One of the standard vCard names listed in Remarks. If one of these names is not used, the request is ignored.
|
See also
Non-Standard Obsolete setAttribute | () | method |
public function setAttribute(attrName:DOMString, value:Number, caseSensitive:*):void
Non-standard (Microsoft)
Obsolete
Sets the value of the specified attribute.
Note (IE8): Internet Explorer 8 and later. IE8 mode enables several enhancements to the setAttribute, getAttribute, and removeAttribute methods that are not available when pages are displayed in earlier document modes.
document.body.setAttribute('onload', 'SomeFunction()');
Note: If your pages are displayed in IE5 mode or IE7 mode, be careful when spelling attribute names. If you set caseSensitive to 1 and the attrName parameter does not have the same uppercase and lowercase letters as the attribute, a new attribute is created for the object. If two or more attributes have the same name, differing only in case, and caseSensitive is set to 0, this method assigns values only to the first attribute created with this name. All other attributes of the same name are ignored.
Note (IE8): Internet Explorer 8 and later. When pages are displayed in IE8 mode, the value parameter only supports string values. Non-string values are not automatically converted to string values. For best results, formally convert values to strings before using them as parameter values. For example, do not attempt to pass an object directly to the value parameter; call the object's toString method instead.
Parameters
attrName:DOMString — The name of the attribute.
| |
value:Number — The string, number, or Boolean to assign to the attribute.
| |
caseSensitive:* (default = NaN ) — Whether to use a case-sensitive search to locate the attribute. Can be one of the following values:
|
See also