userProfile.getAttribute() (Method)

Get an attribute of the vCard object.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEnavigator.userProfile.getAttribute(attribName)
Argument list:attribNameThe name of the required VCard attribute

If the user grants access to the userProfile data, this method will return the contents of the named attribute. The same attribute names that were used when the request was queued should be used here. These are all member attributes belonging to the vCard object.

You should call this method once for each attribute you need. If you have not been granted access to any attribute you will simply receive a null value.

Warnings:

See also:userProfile object, userProfile.addReadRequest(), vCard object