Name

userProfile — NN n/a IE 4 DOM n/a

Synopsis

Read-only

The userProfile property is, itself, an object that lets scripts request permission to access personal information stored in the visitor’s user profile (for Win32 versions of Internet Explorer 4). See the userProfile object.

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) {
    ...
}

Value

userProfile object reference.

Default

Browser default.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.