08-06-2015 02:21 AM
Is it possible to delete a OnBase user with a command line?
So that the user will be deleted from OnBase just like it will be deleted with the GUI.
The user will still exist in de database, but there it is deactivated.
08-06-2015 06:37 AM
Hey Mark,
To my knowledge there is no way outside of Configuration to delete an OnBase user. With that being said this would be the only recommended method to use (via the GUI).
Hope this helps!
08-06-2015 10:05 AM
This doesn't directly answer the original question, how about using Unity scripting and the UserAdministration.DeleteUser Method?
Agreed that there are requirements, Unity version, having acess to the API, etc.
08-06-2015 01:49 PM
03-22-2017 10:22 AM
It should be possible to write Powershell code to use the Unity API to do all sorts of user management- deletion and creation, group maintenance, security keyword maintenance.
From there you could write Powershell Cmdlets to make those sorts of things "one liners" for Powershell users. You also could trigger that Powershell from old-school .bat files.
This could be a helpful to expose some operations to system administrators who need to do repeated/bulk operations and are happiest in a cmd or Powershell world.
In fact I think about looking into it regularly, but never quite find it worth too much effort to investigate when I've got the GUI for small jobs and am comfortable jumping straight to C# Unity API usage when automation is needed.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.