Contents Index Topic Contents | ||
Previous Topic: getAttribute Next Topic: getBookmark |
getAttribute
Description
Returns the value of the named attribute. If read access for this attribute is not already available, this method simply returns the NULL string.
Syntax
navigator.userProfile.getAttribute(attributeName, attributeValue)
Parameter Description attributeName One of the standard vCard names (listed below); otherwise the request is ignored and nothing is returned. attributeValue Value stored in the attributeName parameter. Remarks
The following schema is used for the field names of the user data store. These names are specified when using the getAttribute method on the userProfile object. Please note that the format has changed from vCard_xxx to vCard.xxx and that the older format will no longer be supported.
vCard Names
vCard.Email vCard.DisplayName vCard.FirstName vCard.LastName vCard.MiddleName vCard.Cellular vCard.Gender* vCard.JobTitle vCard.Pager vCard.Company vCard.Department vCard.Notes vCard.Office vCard.Homepage vCard.Home.StreetAddress vCard.Home.City vCard.Home.State vCard.Home.Zipcode vCard.Home.Country vCard.Home.Phone vCard.Home.Fax vCard.Business.StreetAddress vCard.Business.City vCard.Business.Phone vCard.Business.Fax vCard.Business.URL vCard.Business.State vCard.Business.Country vCard.Business.Zipcode Note (*) asterisk denotes extensions to the vCard schema, which will be referenced as X- elements as defined in the vCard schema.
Applies To
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.