Class Index

Classes


UserInfo

Shows the current users information
Defined in: userInfo.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Displays the user info for the user that is currently authenticated
Class Detail
UserInfo()
Displays the user info for the user that is currently authenticated
Returns:
{"username": "..."|"firstName": "..."|"middleName": "..."|"lastName": "..."|"status": "..."|"type": "..."|"address1": "..."|"address2": "..."|"city": "..."|"company": "..."|"country": "..."|"state": "..."|"zip": "..."|"dept": "..."|"email": "..."|"ext": "..."|"phone": "..."|"position": "..."|"wcrEnabled": true or false}
/wf/restapi/v2/userInfo

Parameters:

 Response:
 {
   "username": "root",
   "firstName": "John",
   "middleName": "\"the Johnster\"",
   "lastName": "Doe",
   "status": "Active",
   "type": "Global Administrator",
   "address1": "123 N 1s Street",
   "address2": "APT 1",
   "city": "Minneapolis",
   "company": "Acme Corporation",
   "country": "United States of America",
   "state": "Minnesota",
   "zip": "55414",
   "dept": "Engineering",
   "email": "root@localhost",
   "ext": "1",
   "phone": "123 456 7890",
   "position": "dbadmin",
   "wcrEnabled": false
 }

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Aug 06 2018 16:08:51 GMT-0500 (CDT)