opensocial.Name
Method
opensocial.Name.getField
Acquires data for the Name linked to the specified key.
Parameter
Name |
Type |
Description |
---|---|---|
key |
String |
Key for acquiring data. Refer to the Field class for possible values. |
opt_params |
Map.<opensocial.DataRequest.DataRequestFields|Object> |
Additional parameters passed on to requests |
Return value
Type |
Description |
---|---|
String |
Data |
Sample
opensocial.Name.Field
opensocial.Name.Field.FAMILY_NAME
opensocial.Name.Field.GIVEN_NAME
opensocial.Name.Field.ADDITIONAL_NAME
opensocial.Name.Field.HONORIFIC_PREFIX
opensocial.Name.Field.HONORIFIC_SUFFIX
opensocial.Name.Field.UNSTRUCTURED
Revision History
- 12/2010
- Initial Release.