asp.net.ph

Skip Navigation Links

getAttribute Method

DHTML Methods


Returns the value of the named attribute.

Syntax

sValue = userProfile.getAttribute ( attributeName ) 
Parameters

attributeName Required. One of the standard vCard names ( listed in the Remarks section ). If one of these names is not used, the request is ignored.

Return Value

String. If read access for this attribute is not already available, this method simply returns the NULL string.

Remarks

The following schema is used for the field names of the user data store. These names are specified when using the getAttribute method on the userProfile object. Please note that the format has changed from vCard_xxx to vCard.xxx and that the older format will no longer be supported.

vCard Names

vCard.Cellular vCard.Company vCard.Department
vCard.DisplayName vCard.Email vCard.FirstName
vCard.Gender* vCard.Home.City vCard.Home.Country
vCard.Home.Fax vCard.Home.Phone vCard.Home.State
vCard.Home.StreetAddress vCard.Home.Zipcode vCard.Homepage
vCard.JobTitle vCard.LastName vCard.MiddleName
vCard.Notes vCard.Office vCard.Pager
vCard.Business.City vCard.Business.Country vCard.Business.Fax
vCard.Business.Phone vCard.Business.State vCard.Business.StreetAddress
vCard.Business.URL vCard.Business.Zipcode

Note An asterisk ( * ) denotes extensions to the vCard schema, which will be referenced as X- elements as defined in the vCard schema.

Applies To

userProfile



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note