javascript userProfile Description
userProfile | Firefox/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:
|
||||
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 | ||||
|
||||
Object-Specific Event Handler Properties | ||||
None. |
Powered by Linode.