UserInfo
Shows the current users information
Defined in: userInfo.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
UserInfo()
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|"blueEnabled": 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,
"blueEnabled": false
}