Javascript Reference
Categories: userProfile

javascript userProfile Description

@March 15, 2008, 1:22 a.m.
userProfileFirefox/Netscape/NN n/a IE 4(Win) Chrome/Safari/DOM n/a  

  

The userProfile object reflects numerous pieces of information stored in the browser's user profile for the current user. This object has four methods that:

  • Let you queue requests for individual fields of the profile (items such as name, mailing address, phone numbers, and so on)

  • Display the request dialog that lets users see what you're asking for and disallow specific items or the whole thing

  • Grab the information

  • Clear the request queue

 

Once the information is retrieved (with the user's permission), it can be slipped into form elements (visible or hidden) for submission to the server. Compatibility listings here indicate support in IE for Windows only. While IE for Macintosh accepts the method calls without error, there is no functionality attached to those methods. Further details on the user profile are available from Microsoft at http://msdn.microsoft.com/workshop/management/profile/profile_assistant.asp.

 
Example
 
navigator.userProfile.addReadRequest("vcard.displayname");
navigator.userProfile.doReadRequest("3", "MegaCorp Customer Service");
var custName = navigator.userProfile.getAttribute("vcard.displayname");
navigator.userProfile.clearRequest( );
if (custName) {
    ...
}
 
Object Model Reference
 
navigator.userProfile
 
Object-Specific Properties

None.

 
Object-Specific Methods
 
addReadRequest( )clearRequest( )doReadRequest( )getAttribute( )
 
Object-Specific Event Handler Properties

None.

Dear gakaa.com webmaster, Your posts are always well-written and easy to understand.
Velma Schwindt - 3 days
On a practical level he observed that the rectal thermometer gave the most accurate measure of core body temperature in the elderly whose extremities tended to be cooler due to reduced circulation. https://newfasttadalafil.com/ - buying cialis online usa <a href=https://newfasttadalafil.com/>Cialis</a> Levitra Eccipienti Dovemc https://newfasttadalafil.com/ - Cialis Tumor drug reactions and head injury are some of the possible causes. Wkncaa
Cunlice - 2 years

Powered by Linode.