Greetings,
I have Angular code which lists users, including user.status. This is displayed in our UI and works perfectly. Now I have a requirement to include Disabled users in the listing. It seems I can pull ALL status except disabled with my query /users including STAGED, PROVISIONED, ACTIVE, SUSPENDED, etc., etc., But DEACTIVATED users do not show up in the listing.
Simple code to get the users, including status:
this.http.get(config.api.url + '/users', {}).subscribe((response: any) => {
const users = response.users;
this.users = [];
for (const user of users) {
this.users.push({
firstName: user.profile.firstName,
lastName: user.profile.lastName,
email: user.profile.email,
terminationDate: user.profile.terminationDate,
status: user.status,
id: user.id
etc.,
Do I need to query differently to get the Deactivated accounts?
Thank you in advance!, Phil