userProfile object (Object/JScript)

An object that encapsulates a user's profile within the system.

Availability:

JScript - 3.0
Internet Explorer - 4.0
JavaScript syntax:IEmyUserProfile = navigator.userProfile
Object methods:addReadRequest(), clearRequest(), doReadRequest(), getAttribute()

Through this object, a script can access details about the user from the profile that the system maintains.

This is accomplished by the arcane method of queueing requests for access. Then having queued all the requests, you can ask the user for permission with a single dialog.

If the user grants permission, you can then access the userProfile values, after which the request queue can be cleared.

Warnings:

See also:userProfile.addReadRequest(), userProfile.clearRequest(), userProfile.doReadRequest(), userProfile.getAttribute()

MethodJavaScriptJScriptNIEOperaNESECMADOMCSSHTMLNotes
addReadRequest() n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/a-
clearRequest() n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/a-
doReadRequest() n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/a-
getAttribute() n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/aWarning