Child pages
  • JSAuthenticateResult

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#getAttributeValue]\(alias)
Get attribute value{td}{tr}{tbody}{tbody}{tr}{td}[String]\[]{td}{td}[#getAttributeValues]\(alias)
Get an array of attribute values{td}{tr}{tbody}{table}\\ 

{table:id=function|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=getAttributeValue|class=node}{tr:id=name}{td}h6.getAttributeValue{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getAttributeValue{span}{span:id=iets|style=float: left;}\(alias){span}{td}{tr}{tr:id=des}{td}{sub-section:getAttributeValue_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:getAttributeValue_des|trigger=none|class=sIndent}Get attribute value{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getAttributeValue_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:getAttributeValue_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getAttributeValue_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:getAttributeValue_prs|trigger=none|class=sIndent}\{[String]} alias
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getAttributeValue_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:getAttributeValue_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getAttributeValue_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getAttributeValue_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getAttributeValue_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getAttributeValue_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getAttributeValue_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getAttributeValue_sam|trigger=none}{code:language=javascript}
var email = authenticateResult.getAttributeValue('email')
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getAttributeValues|class=node}{tr:id=name}{td}h6.getAttributeValues{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getAttributeValues{span}{span:id=iets|style=float: left;}\(alias){span}{td}{tr}{tr:id=des}{td}{sub-section:getAttributeValues_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:getAttributeValues_des|trigger=none|class=sIndent}Get an array of attribute values{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getAttributeValues_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:getAttributeValues_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getAttributeValues_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:getAttributeValues_prs|trigger=none|class=sIndent}\{[String]} alias
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getAttributeValues_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:getAttributeValues_ret|trigger=none|class=sIndent}[String]\[]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getAttributeValues_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getAttributeValues_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getAttributeValues_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getAttributeValues_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getAttributeValues_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getAttributeValues_sam|trigger=none}{code:language=javascript}
var namesArray = authenticateResult.getAttributeValues('names')
for (var i = 0; i < namesArray.length; i++) { 
	application.output(namesArray[i]); 
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}