DocScoDoc/docs/samples/sample_user_info.json.md

779 B

user_info

GET /user/2

{
    "active": true,
    "cas_allow_login": false,
    "cas_allow_scodoc_login": false,
    "cas_id": null,
    "cas_last_login": null,
    "date_created": "2022-08-20T12:00:00.000000+02:00",
    "date_expiration": null,
    "date_modif_passwd": "2022-08-20T12:00:00.000000+02:00",
    "dept": "TAPI",
    "edt_id": null,
    "email": "",
    "email_institutionnel": "",
    "id": 2,
    "last_seen": "2022-08-20T12:00:00.000000+02:00",
    "nom": "Doe",
    "nom_fmt": "Doe",
    "nomcomplet": "John Doe",
    "nomplogin": "DOE John (test)",
    "nomprenom": "Doe J.",
    "prenom": "John",
    "prenom_fmt": "John",
    "prenomnom": "J. Doe",
    "roles_string": "LecteurAPI_",
    "status_txt": "actif",
    "user_name": "test"
}