DocScoDoc/docs/samples/sample_users-query.json.md

62 lines
1.8 KiB
Markdown

### users-query
#### GET /users/query?starts_with=u_
```json
[
{
"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": "AA",
"email": "",
"email_institutionnel": "",
"id": 6,
"last_seen": "2022-08-20T12:00:00.000000+02:00",
"nom": "U AA",
"nom_fmt": "U Aa",
"nomcomplet": "Lambda U Aa",
"nomplogin": "U AA Lambda (u_AA)",
"nomprenom": "U Aa L.",
"prenom": "lambda",
"prenom_fmt": "Lambda",
"prenomnom": "L. U Aa",
"roles_string": "UsersViewer_TAPI, Viewer_, UsersViewer_AA, Viewer_",
"status_txt": "actif",
"user_name": "u_AA"
},
{
"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": "BB",
"email": "",
"email_institutionnel": "",
"id": 7,
"last_seen": "2022-08-20T12:00:00.000000+02:00",
"nom": "U BB",
"nom_fmt": "U Bb",
"nomcomplet": "Lambda U Bb",
"nomplogin": "U BB Lambda (u_BB)",
"nomprenom": "U Bb L.",
"prenom": "lambda",
"prenom_fmt": "Lambda",
"prenomnom": "L. U Bb",
"roles_string": "UsersViewer_TAPI, Viewer_, UsersViewer_AA, Viewer_, UsersViewer_BB, Viewer_",
"status_txt": "actif",
"user_name": "u_BB"
},
"..."
]
```