<%

include("../wsUtil.jag");
var util = require("../../util/utility.jag");

var log = new Log();
var serverUrl = util.getServerUrl();
serverUrl = serverUrl + "/IdentityProviderAdminService";

var ws = require('ws');
var webService = new ws.WSRequest();

function getPrimaryOpenID(username){
    var result = callWSReturnJSON(webService, serverUrl, "urn:getPrimaryOpenID", new Array(username));
    return result;
}

%>