Return to Jive Software

2,173 Views 8 Replies Last post: Aug 4, 2009 8:16 AM by Vinh RSS
Jeff MacMillan Novice 69 posts since
Mar 24, 2004
Currently Being Moderated

Feb 17, 2009 7:10 AM

How to delete a user?

We have a couple of users hat inadvertently created duplicates for themselves, and we need to delete one of the users.  We have deactivated the dupliactes, but we want to delete them permanently.  We used to be able to do this, but somewhere the faeture went away (?)

 

Thanks

Vinh Jive Employee 12,343 posts since
Apr 1, 2008
Currently Being Moderated
Feb 17, 2009 9:11 AM in response to: Jeff MacMillan
Re: How to delete a user?

Hey Jeff,

 

The ability to delete users went away in 2.0 and on. We're working on re-incorporating the function in a future feature release, but it is currently not available in 2.0.x or 2.5.x.

 

If it is absolutely critical for you to delete these users, you'll want to follow these steps:

 

  1. Back up the database
  2. Remove all content for a user from the front-end UI (blog posts, messages, document versions, etc.)
  3. Run the following queries (after stopping the application). This query will delete all disabled users ... make sure to change the where condition if you're not trying to delete all disabled users:
    1. delete from jiveUserContainer where userID in (select userID from jiveUser where userenabled=0);
    2. delete from jiveUserRel where userID in (select userID from jiveUser where userenabled=0);
    3. delete from jiveUserRel where  relateduserID in (select userID from jiveUser where userenabled=0);
    4. delete from jiveptracker where userID in (select userID from jiveUser where userenabled=0);
    5. delete from jiveUser where userenabled=0;
  4. Start up the database

 

Please note that this operation is not supported and if you have any issues with this, we will immediately advise you to revert to your backed up database.

 

Thanks,

Vinh

Vinh Jive Employee 12,343 posts since
Apr 1, 2008
Currently Being Moderated
Feb 17, 2009 9:23 AM in response to: Jeff MacMillan
Re: How to delete a user?

Where ever you see "userenabled=0" change it to "userid in (?, ?, ?)" where the ? represents the user IDs.

Nils Bolsen Beginner 420 posts since
Apr 10, 2008
Currently Being Moderated
Aug 3, 2009 2:17 AM in response to: Vinh
Re: How to delete a user?

Hi Vinh,

 

you have written that JiveSW is working on bringing back a way to delete users content.

vinh.jones schrieb:

 

 

The ability to delete users went away in 2.0 and on. We're working on re-incorporating the function in a future feature release, but it is currently not available in 2.0.x or 2.5.x.

 

Can you give us information about the progress? Will this feature be part of 3.5 or 4.0?

 

Here in Europe it is important that, content of an ex-employee can be deleted after he left the company.

Another solution would be the move all his content to another user.

 

Greetings from Frankurt, Germany,

Nils

Vinh Jive Employee 12,343 posts since
Apr 1, 2008
Currently Being Moderated
Aug 3, 2009 11:53 AM in response to: Nils Bolsen
Re: How to delete a user?

Hey Nils,

 

You will be able to delete users in the 3.0.x release.

 

Thanks,

Vinh

Nils Bolsen Beginner 420 posts since
Apr 10, 2008
Currently Being Moderated
Aug 4, 2009 12:19 AM in response to: Vinh
Re: How to delete a user?

Thanks Vinh!

Vinh Jive Employee 12,343 posts since
Apr 1, 2008
Currently Being Moderated
Aug 4, 2009 8:16 AM in response to: Jeff MacMillan
Re: How to delete a user?
Yup. 3.0.6 dropped yesterday.

More Like This

  • Retrieving data ...

Bookmarked By (2)

To better serve our customers we have included functionality to automatically follow up on a case after it has been idle for more than 5 days, and then auto close after an additional 3 days of inactivity. Choose No to acknowledge that this case will remain idle for longer than 5 days.
Making cases public allows other customers to learn from the solution of the case. It can also be used to gain feedback from others in the community. Ask our Support Engineers for more info, but we encourage you to make your cases public.