getAttribute method (userProfile)
Returns the value of the specified attribute from the current userProfile object.
The entire userProfile object, and therefore the getAttribute method as well, are deprecated and the support for them has been removed in Internet Explorer 9.
You can find the related objects in the Supported by objects section below.
Required. String that specifies the vCard name whose value you want to get.
For a complete list of vCard names, see the appendix.
If the attribute does not have read privilege, it returns null, else it returns the value of the specified attribute as a string.
User Contributed Comments