Get /user/id/{id}
Description
Returns the user record with the supplied DBID.
Request Parameter
Id, the user record DBID.
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiNAC |
Content-Type (option 1) | application/json | String | |
Content-Type (option 2) |
application/xml |
|
|
Sample Request
Request URL |
GET https://10.106.94.152:8443/api/v2/user/3 |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Sample Response
{
"status": "success",
"errorMessage": null,
"results": [
{
"landscape": 345052093136,
"id": 3,
"role": "NAC-Default",
"directoryPolicyValue": null,
"firstName": "Admin",
"lastName": "admin",
"dn": "",
"position": "",
"email": "",
"state": 0,
"userID": "admin",
"status": 0,
"notes": "",
"language": "en",
"country": "US",
"version": 1.4,
"packedVersion": 1.4,
"creationTime": 1692982243609,
"validForTime": -1,
"validForInactivityDays": -1,
"validForInactivityAgeTime": 0,
"lastActivityTime": 1708479559407,
"address": "",
"city": "",
"mailState": "",
"zipCode": "",
"phone": "",
"organization": null,
"organizationalUnit": null,
"type": 46,
"adminProfileId": 1,
"guestId": 0,
"mobileNumber": "",
"mobileProvider": "",
"ncmPropagateHosts": true,
"lastModifiedBy": "SYSTEM",
"lastModifiedDate": "2024-02-21T01:39:19.408+0000",
"lastChangeSummary": "[]",
"isApiAdmin": true,
"apiAccessToken": "",
"trustedHosts": "[\"0.0.0.0/0\"]",
"localMschapAuth": false,
"maxAllowedHosts": null
}
],
"filtered": 1,
"total": 2
}