This method adds a request to the queue. Each request denotes the parameters within the user profile that the script needs to access. You may call this method several times, each time asking for a different user preference. You won't initially be granted access to them until you have executed the doReadRequest() method. If the user affirms that you can access these values, then on its return, you can use the getAttribute() method to access the value you need. You can only access values you have requested and which the user has affirmed.
Here is a list of all the user preference attributes that you can request:
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.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
Prev | Home | Next |
userProfile object | Up | userProfile.clearRequest() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |