Pulling Information from Frevvo/SSO

Pulling other data:

if (form.load) {

  if (znumber.value === '') {
    // User Information
    znumber.value = _data.getParameter('subject.urn:oid:2.16.840.1.113730.3.1.3');
    NetID.value = _data.getParameter('subject.id'); // Username (netid)
    FirstName.value = _data.getParameter('subject.first.name');
    LastName.value = _data.getParameter('subject.last.name');
    FullName.value = _data.getParameter('subject.first.name') + " " + _data.getParameter('subject.last.name');
    Email.value = _data.getParameter('subject.email');
    Date.value = frevvo.currentDate(); // gets date at time that form was loaded
 
    var roles = _data.getParameter ("subject.roles"); // gets list of all roles the user has (that are already populated in Frevvo)
    if (roles) {
        var x = []; // Creates an array to store roles
        x = JSON.parse(roles); // parses roles into the array 'x'
        Roles.options = x; // sets the roles into a dropdown menu called 'Roles' in the form (they are stored on backend in format -> role=role)
    }
  }
}
izmir escort
ataşehir escort maltepe escort kartal escort kadıköy escort pendik escort escort bayan pendik escort bostancı escort kartal escort kadıköy escort ataşehir escort