Forum Discussion

DavidHawe's avatar
DavidHawe
Qrew Trainee
11 years ago

How to Test for (deactivated) User?

When a deactivated user is in a user field, "(deactivated)" shows up visibly in the field when viewing the record.

I would like to test for the value but have had no success.

Example: If(Right(ToText([UserField]),13)="(deactivated)","Deactivated")

It seems QuickBase displays the deactivated but it is not an actual value.

In ideas how I can test for deactivated users in a formula field?

  • Thanks, I can do that manually but I am trying use this to filter a report showing who is active and who is deactivated.  This is due to how the pricing structure is changing for us so we need to be minutely focused on who is active in QuickBase vs. active as an employee.  We have users that are seasonal.
  • Since this information will come from the Account Level Users tab; you should really be looking there for this information.  Furthermore, it will tell you when the last time was that they used an application.  You can easily export this list of Users to csv and then compare with your HR lists for seasonal users.  You can then add these seasonal users to your Deny-list to remove them from the User-count.  Next season you can easily un-deny them.  To my knowledge, you cannot ascertain this information via a formula field
  • I also have a need to run a report that shows all records that are owned by "Deactivated" users so i can delete their record.  I can't view it in my user list because they are part of a domain group of over 46000 members.  Any way to view a report that shows records owned by "deactivated" users?
    • EvanMartinez's avatar
      EvanMartinez
      Quickbase Staff
      Hi Lori,

      Within your specific application you are auditing one thing that might be a good starting place is to go into your users table and use the dynamic filter for Status. One option is to pull all the users in that user table who are deactivated. That would help to narrow down to just the users listed in your users table who are marked as deactivated. Ideally that would give you a smaller pool to then search for in the application. You wouldn't be checking a user list at the Account level. I hope that suggestion is helpful. 

      Currently there is not a formula function to ascertain a users status within the Account or a reporting filter for user status. 
    • _anomDiebolt_'s avatar
      _anomDiebolt_
      Qrew Elite
      You can do it with script in a two step process. First scrape the user ids associated with the deactivated users (from an admin page) and next query for records where the record owner is one of the deactivated users. This has to be done with script because it is a multi-step process and you probably want to apply it to all tables in the application.

      Contact me off-world using the information in my profile if you want a custom solution:

      https://getsatisfaction.com/people/dandiebolt
    • LoriSiegerman's avatar
      LoriSiegerman
      Qrew Member
      Dan - that seems very advanced for me.  Will contact you for assistance :-)