AnsweredAssumed Answered

How to bypass the message box that appears when calling a webscript

Question asked by on Jun 24, 2015
Latest reply on Jun 26, 2015 by
I have written a webscript to get the current logged in user.when I call this webscript it is prompting to enter the user name and password. Can this be ignored or by passed? How?

   <shortname>Get User Webscript</shortname>
   <description>Get User Id</description>
   <format default="json">any</format>

<#escape x as jsonUtils.encodeJSONString(x)>
      "userId": "${userId}"

function main()
   var userId =;
   model.userId = userId;